[29117] trunk/dports/x11/gtk2

source_changes at macosforge.org source_changes at macosforge.org
Sat Sep 15 01:49:12 PDT 2007


Revision: 29117
          http://trac.macosforge.org/projects/macports/changeset/29117
Author:   rhwood at macports.org
Date:     2007-09-15 01:49:10 -0700 (Sat, 15 Sep 2007)

Log Message:
-----------
Add patch from ticket:11745
Do not increment the revision since the current version has not yet hit the rsync dports tree

Modified Paths:
--------------
    trunk/dports/x11/gtk2/Portfile

Added Paths:
-----------
    trunk/dports/x11/gtk2/files/patch-gtk_gdk_quartz_gtkdrawable-quartz.c.diff

Modified: trunk/dports/x11/gtk2/Portfile
===================================================================
--- trunk/dports/x11/gtk2/Portfile	2007-09-15 08:36:21 UTC (rev 29116)
+++ trunk/dports/x11/gtk2/Portfile	2007-09-15 08:49:10 UTC (rev 29117)
@@ -56,7 +56,9 @@
 	}
 }
 
-patchfiles	patch-gtk_gtkiconcache.c.diff
+patchfiles	\
+	patch-gtk_gtkiconcache.c.diff \
+	patch-gtk_gdk_quartz_gtkdrawable-quartz.c.diff
 
 # older CFLAGS declaration - if the default optimization still causes problems
 # we will revert to this

Added: trunk/dports/x11/gtk2/files/patch-gtk_gdk_quartz_gtkdrawable-quartz.c.diff
===================================================================
--- trunk/dports/x11/gtk2/files/patch-gtk_gdk_quartz_gtkdrawable-quartz.c.diff	                        (rev 0)
+++ trunk/dports/x11/gtk2/files/patch-gtk_gdk_quartz_gtkdrawable-quartz.c.diff	2007-09-15 08:49:10 UTC (rev 29117)
@@ -0,0 +1,17 @@
+--- gdk/quartz/gdkdrawable-quartz.c.orig	2007-06-20 13:17:03.000000000 -0400
++++ gdk/quartz/gdkdrawable-quartz.c	2007-06-20 12:17:36.000000000 -0400
+@@ -61,7 +61,14 @@
+ 
+   gdk_drawable_get_size (drawable, &width, &height);
+ 
++/*
++ * Might be able to take this back as far as 1.4.2.
++ */
++#if (CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,4,8))
++  surface = cairo_quartz_surface_create_for_cg_context (context, width, height);
++#else
+   surface = cairo_quartz_surface_create (context, width, height, TRUE);
++#endif
+ 
+   info = g_new (SurfaceInfo, 1);
+   info->drawable = drawable;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070915/0b8f4d72/attachment.html


More information about the macports-changes mailing list