pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/wxsvg/patches Fixed preprocessor checks for F...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e54878b7d76
branches:  trunk
changeset: 532446:9e54878b7d76
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sun Aug 19 15:16:11 2007 +0000

description:
Fixed preprocessor checks for FreeType >=2.2. The old checks recognised
FreeType >=2.

diffstat:

 graphics/wxsvg/patches/patch-aa |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r c965f9fab38f -r 9e54878b7d76 graphics/wxsvg/patches/patch-aa
--- a/graphics/wxsvg/patches/patch-aa   Sun Aug 19 14:44:47 2007 +0000
+++ b/graphics/wxsvg/patches/patch-aa   Sun Aug 19 15:16:11 2007 +0000
@@ -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 @@
    }
  }
  
-+#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 @@
    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 @@
    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 @@
    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



Home | Main Index | Thread Index | Old Index