[Fontconfig] [PATCH] Build failure under Windows

Pierre Ynard linkfanel at yahoo.fr
Sat Jun 27 19:40:07 PDT 2009


The latest release 2.7.0 won't build for Windows. It was pretty
obviously broken by commit f69db8d49cbd929b80527719be6c0b1e6d49ccac
"Consistently use FcStat() over stat() in all places" that introduces a
prototype in #ifdef _WIN32 with a missing trailing ";" ... This fixes
the build:

--- fontconfig/src/fcint.h	2009-06-28 04:19:13.000000000 +0200
+++ fontconfig/src/fcint.h	2009-06-28 04:19:27.000000000 +0200
@@ -538,7 +538,7 @@
 #ifdef _WIN32
 FcPrivate int
-FcStat (const char *file, struct stat *statb)
+FcStat (const char *file, struct stat *statb);
 #define FcStat stat

Do you plan on making a new release to fix this?

Kind regards,

Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."

More information about the Fontconfig mailing list