diff options
author | heinz <heinz@pkgsrc.org> | 2007-08-19 15:16:11 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2007-08-19 15:16:11 +0000 |
commit | 8c17a6a9e18d22aa12583c5a145c7f8dc942dceb (patch) | |
tree | 6925016585821aa373a9ebed9632037ef9a6e05a /graphics/wxsvg | |
parent | dddc0339ef8d9d3e7430e76a7db629f5f45dbd4f (diff) | |
download | pkgsrc-8c17a6a9e18d22aa12583c5a145c7f8dc942dceb.tar.gz |
Fixed preprocessor checks for FreeType >=2.2. The old checks recognised
FreeType >=2.
Diffstat (limited to 'graphics/wxsvg')
-rw-r--r-- | graphics/wxsvg/patches/patch-aa | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/wxsvg/patches/patch-aa b/graphics/wxsvg/patches/patch-aa index 9386e7b1d54..bf6cd7ae519 100644 --- a/graphics/wxsvg/patches/patch-aa +++ b/graphics/wxsvg/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1 2006/06/20 12:54:48 joerg Exp $ +$NetBSD: patch-aa,v 1.2 2007/08/19 15:16:11 heinz Exp $ --- src/freetype/SVGCanvasTextFreetype.cpp.orig 2006-06-20 12:31:40.000000000 +0000 +++ src/freetype/SVGCanvasTextFreetype.cpp @@ -6,7 +6,7 @@ $NetBSD: patch-aa,v 1.1 2006/06/20 12:54:48 joerg Exp $ } } -+#if (FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 2) || FREETYPE_MAJOR >= 2 ++#if (FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 2) || FREETYPE_MAJOR > 2 +gint moveto(const FT_Vector* to, gpointer data) +#else gint moveto(FT_Vector* to, gpointer data) @@ -18,7 +18,7 @@ $NetBSD: patch-aa,v 1.1 2006/06/20 12:54:48 joerg Exp $ return 0; } -+#if (FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 2) || FREETYPE_MAJOR >= 2 ++#if (FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 2) || FREETYPE_MAJOR > 2 +static gint lineto (const FT_Vector* to, gpointer data) +#else static gint lineto (FT_Vector* to, gpointer data) @@ -30,7 +30,7 @@ $NetBSD: patch-aa,v 1.1 2006/06/20 12:54:48 joerg Exp $ return 0; } -+#if (FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 2) || FREETYPE_MAJOR >= 2 ++#if (FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 2) || FREETYPE_MAJOR > 2 +static gint conicto(const FT_Vector* ftcontrol, const FT_Vector* to, gpointer data) +#else static gint conicto(FT_Vector* ftcontrol, FT_Vector* to, gpointer data) @@ -42,7 +42,7 @@ $NetBSD: patch-aa,v 1.1 2006/06/20 12:54:48 joerg Exp $ return 0; } -+#if (FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 2) || FREETYPE_MAJOR >= 2 ++#if (FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 2) || FREETYPE_MAJOR > 2 +static gint cubicto(const FT_Vector* ftcontrol1, const FT_Vector* ftcontrol2, + const FT_Vector* to, gpointer data) +#else |