[Fontconfig] [PATCH] Build failure under Windows

Behdad Esfahbod behdad at behdad.org
Sun Jun 28 10:47:03 PDT 2009


Thanks, pushed.  I'll make a 2.7.1 release in a few days.

behdad

On 06/27/2009 10:40 PM, Pierre Ynard wrote:
> Hello,
>
> 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);
>   #else
>   #define FcStat stat
>   #endif
>
>
> Do you plan on making a new release to fix this?
>
> Kind regards,
>


More information about the Fontconfig mailing list