Created attachment 208249 [details] Patch to add freetype2 include directory to CFLAGS After the last update to xlockmore 5.59 (svn r513774), I am no longer able to compile with MESAGL turned on. The result is a compilation error failing to find ft2build.h (which is included by ftgl.h): --- ./text3d2.o --- In file included from ./text3d2.cc:79: /usr/local/include/FTGL/FTGLExtrdFont.h:29:5: warning: This header is deprecated. Please use <FTGL/ftgl.h> from now. [-W#warnings] # warning This header is deprecated. Please use <FTGL/ftgl.h> from now. ^ In file included from ./text3d2.cc:79: In file included from /usr/local/include/FTGL/FTGLExtrdFont.h:30: /usr/local/include/FTGL/ftgl.h:32:10: fatal error: 'ft2build.h' file not found #include <ft2build.h> ^~~~~~~~~~~~ The reason for this is that there is no -I flag in CFLAGS to add the freetype2 directory to the include path, which is necessary to find ft2build.h. The attached patch to the xlockmore Makefile is sufficient to get the thing built for me.
Thanks for the patch!