In file included from svg.c:29:0: ../../config.h:730:0: warning: "_REENTRANT" redefined [enabled by default] <command-line>:0:0: note: this is the location of the previous definition ../../doltlibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=native -pipe -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -rpath '/usr/lib64/vlc/plugins/text_renderer' -avoid-version -module -export-symbols-regex ^vlc_entry -shrext .so -no-undefined ../../compat/libcompat.la ../../src/libvlccore.la -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -L/usr/lib64/sidplay/builders/ -o libtdummy_plugin.la -rpath /usr/lib64/vlc/plugins/text_renderer libtdummy_plugin_la-tdummy.lo -lpthread freetype.c:93:30: fatal error: freetype/ftsynth.h: No such file or directory compilation terminated. Makefile:1297: recipe for target 'libfreetype_plugin_la-freetype.lo' failed make[4]: *** [libfreetype_plugin_la-freetype.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... The location of the header is now freetype2/ftsynth.h
Adjusting the header in work/vlc-2.1.1/modules/text_renderer/freetype.c to freetype2/ftsynth.h lets it compile succesfully.
Appears fixed in 9999; so, I went looking for an upstream commit: http://git.videolan.org/?p=vlc/vlc-2.1.git;a=blobdiff;f=modules/text_renderer/freetype.c;h=c27ec4558956f00b1fd2b448fa07d680a2be5c82;hp=25d6b15650d13982fd8c792df92389fd4de8eadd;hb=4eb6d91e94f720bf2dd22dcfee171e4ff4b790df;hpb=9ebead9dfbdcac2da31bc856cec51c058f5ddca8 I'll use that commit instead to patch up 2.1.1 to ensure we don't miss something. + 07 Dec 2013; Tom Wijsman <TomWij@gentoo.org> + +files/vlc-2.1.1-freetype-2.5.1-support.patch, vlc-2.1.1.ebuild: + When freetype-2.5.1 or newer is used, we apply a backported patch to vlc-2.1.1 + support it; fixes bug #493496, reported by Ben de Groot (yngwin). Fixed! Thank you very much for reporting this.