On Mon, Dec 08, 2003 at 11:44:40PM +0100, Grzegorz Nieweglowski wrote: > I have trouble with a "fix" that appeared somewhere between 4.3.99.15 > and 4.3.99.16 (and is still present in 4.3.99.901). I've browsed the > changelogs and there was something that was supposed to "help" XFree86 > build with external freetype libraries, but... well, on my config it > did exactly the opposite, I think. "Making World" with > > #define HasFreetype2 YES > #define BuildFreetype2Library NO > > in my xc/config/cf/host.def fails in xc/lib/font/FreeType/ on ftfuncs.c. > Seems as those freetype include definitions used in there newer got > declared and gcc complains "#include expects "FILENAME" or <FILENAME>".
I had the same problem and reverted one line of the change by using the following patch. --- lib/font/FreeType/ftfuncs.c.old 2003-11-23 23:59:12.518624452 +0000 +++ lib/font/FreeType/ftfuncs.c 2003-11-24 00:01:16.660583100 +0000 @@ -51,7 +51,7 @@ #include FT_XFREE86_H #include FT_BBOX_H #include FT_INTERNAL_TRUETYPE_TYPES_H -#include "ttobjs.h" +#include "extras/freetype2/src/truetype/ttobjs.h" /* * If you want to use FT_Outline_Get_CBox instead of * FT_Outline_Get_BBox, define here. I'm not sure if this a XFree86 bug or if just the include file is missing in the freetype2-devel package. Stefan Public Key available ---------------------------------------------------- Stefan Dirsch (Res. & Dev.) SuSE Linux AG Tel: 0911-740530 Deutschherrnstr. 15-19 FAX: +49 911 741 77 55 D-90429 N�rnberg http://www.suse.de Germany ---------------------------------------------------- _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
