Shawn Starr <[EMAIL PROTECTED]> writes:
> 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);
Pango's Xft support simply doesn't work with current XFree86 CVS which
has a substantially different version of Xft (version 2) from the one that
Pango expects.
Keith has some patches to get it working, see:
http://mail.gnome.org/archives/gtk-devel-list/2002-February/msg00321.html
I hope to work on integrating them into Pango CVS within the next few
weeks.
Regards,
Owen
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert