summaryrefslogtreecommitdiff
path: root/x11/gtk2/patches
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2007-04-10 13:05:59 +0000
committeradam <adam@pkgsrc.org>2007-04-10 13:05:59 +0000
commit43417643b233a29da648aecefd09cc8d4d775324 (patch)
tree3f4379ae4af45e6a22d7e7ae22d2f7e4e820b63c /x11/gtk2/patches
parent9ee447309cac014868d78159748d8f6a4feebe2d (diff)
downloadpkgsrc-43417643b233a29da648aecefd09cc8d4d775324.tar.gz
Fix buildling Quartz GDK with Cairo 1.4.x on Mac OS X
Diffstat (limited to 'x11/gtk2/patches')
-rw-r--r--x11/gtk2/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/gtk2/patches/patch-ab b/x11/gtk2/patches/patch-ab
new file mode 100644
index 00000000000..e20b51ee24d
--- /dev/null
+++ b/x11/gtk2/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.16 2007/04/10 13:05:59 adam Exp $
+
+--- gdk/quartz/gdkdrawable-quartz.c.orig 2007-04-10 14:32:41.000000000 +0200
++++ gdk/quartz/gdkdrawable-quartz.c
+@@ -61,7 +61,7 @@ gdk_quartz_ref_cairo_surface (GdkDrawabl
+
+ gdk_drawable_get_size (drawable, &width, &height);
+
+- surface = cairo_quartz_surface_create (context, width, height, TRUE);
++ surface = cairo_quartz_surface_create_for_cg_context (context, width, height);
+
+ info = g_new (SurfaceInfo, 1);
+ info->drawable = drawable;