diff options
author | adam <adam@pkgsrc.org> | 2007-04-10 13:05:59 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2007-04-10 13:05:59 +0000 |
commit | 43417643b233a29da648aecefd09cc8d4d775324 (patch) | |
tree | 3f4379ae4af45e6a22d7e7ae22d2f7e4e820b63c /x11/gtk2/patches | |
parent | 9ee447309cac014868d78159748d8f6a4feebe2d (diff) | |
download | pkgsrc-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-ab | 13 |
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; |