[Cairo] Freetype seems to mandate different headers on debian/sid (powerpc)

Pierre-Alain Joye paj at pearfr.org
Tue Nov 18 02:50:15 PST 2003


On Tue, 18 Nov 2003 11:13:41 +0100
Christof Petig <christof at petig-baender.de> wrote:

> The following patch was necessary to compile cairo on my debian/sid
> machine:
> 
> diff -u -r1.29 cairo.h
> --- src/cairo.h 7 Nov 2003 02:33:28 -0000       1.29
> +++ src/cairo.h 18 Nov 2003 10:05:26 -0000
> @@ -425,7 +425,8 @@
>   /* Fontconfig/Freetype platform-specific font interface */
> 
>   #include <fontconfig/fontconfig.h>
> -#include <freetype/freetype.h>
> +#include <ft2build.h>
> +#include FT_FREETYPE_H
> 
>   extern cairo_font_t * __external_linkage
>   cairo_ft_font_create (FT_Library ft_library, FcPattern *pattern);
> 
> don't ask me why, but it looks like the ft maintainers have spent some



More information about the cairo mailing list