Created attachment 368324 [details, diff] xlockmore-5.43.ebuild.diff x86_64-pc-linux-gnu-g++ -c -DHAVE_CONFIG_H -DDEF_FILESEARCHPATH=\"/usr/share/X11/app-defaults/%N%C%S:/usr/share/X11/app-defaults/%N%S\" -I. -I.. -I../.. -I../../xlock/ -I../.. -I/usr/include -I/usr/include -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -march=corei7 -mtune=corei7 -O2 -pipe -fomit-frame-pointer -finline-functions -DFTGL213 text3d2.cc In file included from text3d2.cc:79:0: /usr/include/FTGL/ftgl.h:32:22: fatal error: ft2build.h: No such file or directory #include <ft2build.h> ^ compilation terminated. Makefile:150: recipe for target 'text3d2.o' failed make[1]: *** [text3d2.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/x11-misc/xlockmore-5.43/work/xlockmore-5.43/modes/glx' Makefile:12: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: x11-misc/xlockmore-5.43::gentoo failed (compile phase): * emake failed First I thought it's a problem in media-libs/ftgl but the header includes freetype correctly. I then recognized that xlockmore doesn't add "-I/usr/include/freetype2" and thus fails to find ft2build.h header. I've tried to patch xlockmore's build system but my autoconf-foo is weak. So I did the attached workaround.
+ 11 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> xlockmore-5.43.ebuild, + +files/xlockmore-5.43-freetype251.patch: + Fixed compilation with >=freetype-2.5.1 (bug #498782). + Fixed in a different way.