summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-07-03 13:08:01 +0000
committerFabian Groffen <grobian@gentoo.org>2010-07-03 13:08:01 +0000
commita45401c281c13a2dcf14b2a4cf5dfc6f95a7f3ac (patch)
treecffd691e2706ced765993a0906e8c4672422651e /x11-libs/gtk+/files
parentalpha/sparc stable wrt #325531 (diff)
downloadgentoo-2-a45401c281c13a2dcf14b2a4cf5dfc6f95a7f3ac.tar.gz
gentoo-2-a45401c281c13a2dcf14b2a4cf5dfc6f95a7f3ac.tar.bz2
gentoo-2-a45401c281c13a2dcf14b2a4cf5dfc6f95a7f3ac.zip
Fix compilation on Darwin8
(Portage version: 2.2.01.15352-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'x11-libs/gtk+/files')
-rw-r--r--x11-libs/gtk+/files/gtk+-2.20.1-darwin8.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-libs/gtk+/files/gtk+-2.20.1-darwin8.patch b/x11-libs/gtk+/files/gtk+-2.20.1-darwin8.patch
new file mode 100644
index 000000000000..f4a865c5d39b
--- /dev/null
+++ b/x11-libs/gtk+/files/gtk+-2.20.1-darwin8.patch
@@ -0,0 +1,13 @@
+NSUInteger is available starting from OSX 10.5 (Leopard)
+
+--- gtk/gtkquartz.c
++++ gtk/gtkquartz.c
+@@ -260,7 +260,7 @@
+ GdkDisplay *display;
+ gint format;
+ const guchar *data;
+- NSUInteger length;
++ guint length;
+
+ target = gdk_atom_name (gtk_selection_data_get_target (selection_data));
+ display = gtk_selection_data_get_display (selection_data);