When building with GCC 4.7, attempting to compile pngshim.c results in an internal compiler error. The attached patch fixes compiling FreeType for RISC OS, and this mailing list post (https://lists.nongnu.org/archive/html/freetype-devel/2017-09/msg00142.html) shows that the same error occurs when building for MIPS Linux as well.