pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/wxGTK24 Fix build with FreeType 2.2.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/05faa62d556f
branches: trunk
changeset: 514870:05faa62d556f
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Jun 19 21:16:19 2006 +0000
description:
Fix build with FreeType 2.2.1.
diffstat:
x11/wxGTK24/distinfo | 4 +-
x11/wxGTK24/patches/patch-ai | 66 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+), 2 deletions(-)
diffs (85 lines):
diff -r 0df75582ecba -r 05faa62d556f x11/wxGTK24/distinfo
--- a/x11/wxGTK24/distinfo Mon Jun 19 20:22:33 2006 +0000
+++ b/x11/wxGTK24/distinfo Mon Jun 19 21:16:19 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2005/11/07 17:58:00 joerg Exp $
+$NetBSD: distinfo,v 1.5 2006/06/19 21:16:19 joerg Exp $
SHA1 (wxGTK-2.4.2.tar.bz2) = 3f1ebacaaf8eb5510c14ee10bafbc5f225be842c
RMD160 (wxGTK-2.4.2.tar.bz2) = 8076d1ba31c9b23becb241cbad5a83763fee776e
@@ -11,4 +11,4 @@
SHA1 (patch-af) = 81cddc6dcdf986317f7d62f027515cae6ef2c855
SHA1 (patch-ag) = ccdaca4030c08aefa922367019e0c9249b810456
SHA1 (patch-ah) = 24cc32f7eda53f4704422363902f72239eda2253
-SHA1 (patch-ai) = 98ca97a1d3d6e58f744d3be9ccd4dfcca904be07
+SHA1 (patch-ai) = c5d301c2cb45397329d9a817d9278707a2d3b97f
diff -r 0df75582ecba -r 05faa62d556f x11/wxGTK24/patches/patch-ai
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/wxGTK24/patches/patch-ai Mon Jun 19 21:16:19 2006 +0000
@@ -0,0 +1,66 @@
+$NetBSD: patch-ai,v 1.1 2006/06/19 21:16:19 joerg Exp $
+
+--- src/generic/dcpsg.cpp.orig 2006-06-19 20:01:50.000000000 +0000
++++ src/generic/dcpsg.cpp
+@@ -1146,8 +1146,13 @@ struct _OutlineInfo {
+ FILE *file;
+ };
+
++#if (FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 2) || FREETYPE_MAJOR >= 2
++static int paps_move_to( const FT_Vector* to,
++ void *user_data)
++#else
+ static int paps_move_to( FT_Vector* to,
+ void *user_data)
++#endif
+ {
+ OutlineInfo *outline_info = (OutlineInfo*)user_data;
+ fprintf(outline_info->file, "%d %d moveto\n",
+@@ -1156,8 +1161,13 @@ static int paps_move_to( FT_Vector* to,
+ return 0;
+ }
+
++#if (FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 2) || FREETYPE_MAJOR >= 2
++static int paps_line_to( const FT_Vector* to,
++ void *user_data)
++#else
+ static int paps_line_to( FT_Vector* to,
+ void *user_data)
++#endif
+ {
+ OutlineInfo *outline_info = (OutlineInfo*)user_data;
+ fprintf(outline_info->file, "%d %d lineto\n",
+@@ -1166,9 +1176,15 @@ static int paps_line_to( FT_Vector* to,
+ return 0;
+ }
+
++#if (FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 2) || FREETYPE_MAJOR >= 2
++static int paps_conic_to( const FT_Vector* control,
++ const FT_Vector* to,
++ void *user_data)
++#else
+ static int paps_conic_to( FT_Vector* control,
+ FT_Vector* to,
+ void *user_data)
++#endif
+ {
+ OutlineInfo *outline_info = (OutlineInfo*)user_data;
+ fprintf(outline_info->file, "%d %d %d %d conicto\n",
+@@ -1179,10 +1195,17 @@ static int paps_conic_to( FT_Vector* co
+ return 0;
+ }
+
++#if (FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 2) || FREETYPE_MAJOR >= 2
++static int paps_cubic_to( const FT_Vector* control1,
++ const FT_Vector* control2,
++ const FT_Vector* to,
++ void *user_data)
++#else
+ static int paps_cubic_to( FT_Vector* control1,
+ FT_Vector* control2,
+ FT_Vector* to,
+ void *user_data)
++#endif
+ {
+ OutlineInfo *outline_info = (OutlineInfo*)user_data;
+ fprintf(outline_info->file,
Home |
Main Index |
Thread Index |
Old Index