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.
Shawn.
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);
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert