On Tue, Dec 09, 2003 at 11:02:32AM +0100, Stefan Dirsch wrote:
>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.
>

lib/font/FreeType/Imakefile has -I$(FT2SOURCEDIR)/truetype in INCLUDES,
and FT2SOURCEDIR = $(TOP)/extras/freetype2/src, so "ttobjs.h" should be
found there.

(It is for me.)

David
-- 
David Dawes
developer/release engineer                      The XFree86 Project
www.XFree86.org/~dawes
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to