--- grass-5.7.0/display/d.text.freetype/main.c 2005-01-07 15:00:53.759983848 +0100 +++ grass-5.7.0/display/d.text.freetype/main.c.fixed 2005-01-07 15:14:58.606547648 +0100 @@ -30,7 +30,12 @@ #include #endif -#include +/* #include */ +/* fix for freetype2 */ +#include +#include FT_FREETYPE_H +/* end of fix for freetype2 */ + #include "gis.h" #include "display.h" #include "raster.h" --- grass-5.7.0/configure 2005-01-07 15:00:50.763439392 +0100 +++ grass-5.7.0/configure.fixed 2005-01-07 17:06:17.697171536 +0100 @@ -12878,7 +12878,7 @@ ac_save_cppflags="$CPPFLAGS" CPPFLAGS="$FTINC $CPPFLAGS" -for ac_hdr in freetype/freetype.h +for ac_hdr in ft2build.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6