On Sun, Jun 23, 2002 at 04:06:59AM -0600, S. Anderson wrote: > Hi, hmm, now to get fvwm to compile after Xft2 was detected I had to do these changes (hopefully i didnt butcher it too badly!)... I am using Xft2 from here: http://keithp.com/fonts/pub/fcpackage.02-06-21.10-39.tar.gz I had to include <fontconfig/fontconfig.h> because thats the only place FcBool is defined on my system.
hth, sa [EMAIL PROTECTED] ~/src/fvwm % diff -u libs/Fft.h.orig libs/Fft.h --- libs/Fft.h.orig Sun Jun 23 04:20:17 2002 +++ libs/Fft.h Sun Jun 23 04:23:49 2002 @@ -74,6 +74,7 @@ /* Fc (fontconfig) stuff */ #if FftSupportUseXft2 +#include <fontconfig/fontconfig.h> typedef FcChar8 FftChar8; typedef FcChar16 FftChar16; @@ -98,19 +99,7 @@ } u; } Xft1Value; typedef Xft1Value Fft1Value; -/* no value list in Xft+Fc */ -typedef struct _XftValueList -{ - struct _XftValueList *next; - Fft1Value value; -} XftValueList; typedef XftValueList FftValueList; -/* no XftPatternElt in Xft+Fc */ -typedef struct -{ - const char *object; - FftValueList *values; -} XftPatternElt; typedef XftPatternElt FftPatternElt; /* XftPattern and FcPattern are different */ typedef struct _Xft1Pattern { -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]