On Tue, 19 Mar 2002, Shawn Starr wrote: > After using a recent CVS snapshot GTK+'s pango failed to configure > properly with errors:
> configure: WARNING: X11/Xft/XftFreetype.h: present but cannot be compiled. > configure: WARNING: X11/Xft/XftFreetype.h: check for missing prerequisite headers? > configure: WARNING: X11/Xft/XftFreetype.h: proceeding with the preprocessor's result > Error in config.log: > In file included from configure:16193: > /usr/X11R6/include/X11/Xft/XftFreetype.h:77: parse error before '*' token > /usr/X11R6/include/X11/Xft/XftFreetype.h:78: warning: type defaults to `int' in >declaration of `XftFreeTypeOpen' > Solution: Add typedef struct, error gone. > Patch below: > --- XftFreetype.h.old Tue Mar 19 23:36:27 2002 > +++ XftFreetype.h Tue Mar 19 23:28:10 2002 > @@ -57,6 +57,8 @@ struct _XftFontStruct { > > _XFUNCPROTOBEGIN > > +typedef struct _XftFontStruct XftFontStruct; > + > /* xftdir.c */ > Bool > XftDirScan (XftFontSet *set, const char *dir, Bool force); As of just over a month ago, this change is no longer needed. Marc. +----------------------------------+-----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax: 1-780-492-1729 | | 352 General Services Building | email: [EMAIL PROTECTED] | | University of Alberta +-----------------------------------+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply | | CANADA | | +----------------------------------+-----------------------------------+ XFree86 Core Team member. ATI driver and X server internals. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert