diff options
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 4 | ||||
-rw-r--r-- | x11-toolkits/gtk20/files/extra-arch-powerpc64 | 20 | ||||
-rw-r--r-- | x11-toolkits/gtk30/Makefile | 4 | ||||
-rw-r--r-- | x11-toolkits/gtk30/files/extra-arch-powerpc64 | 20 |
4 files changed, 48 insertions, 0 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index 1452bde9220c..e38f8935ca4c 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -63,6 +63,10 @@ CONFIGURE_ARGS+= --enable-debug=yes .include <bsd.port.pre.mk> +.if ${ARCH} == powerpc64 +EXTRA_PATCHES= ${.CURDIR}/files/extra-arch-powerpc64 +.endif + .if (defined(WITH_CUPS) || exists(${LOCALBASE}/lib/libcups.so)) && \ !defined(WITHOUT_CUPS) LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client diff --git a/x11-toolkits/gtk20/files/extra-arch-powerpc64 b/x11-toolkits/gtk20/files/extra-arch-powerpc64 new file mode 100644 index 000000000000..2a2c4aa06540 --- /dev/null +++ b/x11-toolkits/gtk20/files/extra-arch-powerpc64 @@ -0,0 +1,20 @@ +--- gtk/gtkbuilderparser.c.dist 2010-06-08 14:11:06.000000000 -0500 ++++ gtk/gtkbuilderparser.c 2010-06-08 14:11:33.000000000 -0500 +@@ -1051,7 +1051,7 @@ + /* Called for character data */ + /* text is not nul-terminated */ + static void +-text (GMarkupParseContext *context, ++XXXtext (GMarkupParseContext *context, + const gchar *text, + gsize text_len, + gpointer user_data, +@@ -1106,7 +1106,7 @@ + static const GMarkupParser parser = { + start_element, + end_element, +- text, ++ XXXtext, + NULL, + NULL + }; diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile index 1452bde9220c..e38f8935ca4c 100644 --- a/x11-toolkits/gtk30/Makefile +++ b/x11-toolkits/gtk30/Makefile @@ -63,6 +63,10 @@ CONFIGURE_ARGS+= --enable-debug=yes .include <bsd.port.pre.mk> +.if ${ARCH} == powerpc64 +EXTRA_PATCHES= ${.CURDIR}/files/extra-arch-powerpc64 +.endif + .if (defined(WITH_CUPS) || exists(${LOCALBASE}/lib/libcups.so)) && \ !defined(WITHOUT_CUPS) LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client diff --git a/x11-toolkits/gtk30/files/extra-arch-powerpc64 b/x11-toolkits/gtk30/files/extra-arch-powerpc64 new file mode 100644 index 000000000000..2a2c4aa06540 --- /dev/null +++ b/x11-toolkits/gtk30/files/extra-arch-powerpc64 @@ -0,0 +1,20 @@ +--- gtk/gtkbuilderparser.c.dist 2010-06-08 14:11:06.000000000 -0500 ++++ gtk/gtkbuilderparser.c 2010-06-08 14:11:33.000000000 -0500 +@@ -1051,7 +1051,7 @@ + /* Called for character data */ + /* text is not nul-terminated */ + static void +-text (GMarkupParseContext *context, ++XXXtext (GMarkupParseContext *context, + const gchar *text, + gsize text_len, + gpointer user_data, +@@ -1106,7 +1106,7 @@ + static const GMarkupParser parser = { + start_element, + end_element, +- text, ++ XXXtext, + NULL, + NULL + }; |