[60578] trunk/dports/graphics/cairo-devel

ryandesign at macports.org ryandesign at macports.org
Sun Nov 15 18:02:53 PST 2009


Revision: 60578
          http://trac.macports.org/changeset/60578
Author:   ryandesign at macports.org
Date:     2009-11-15 18:02:51 -0800 (Sun, 15 Nov 2009)
Log Message:
-----------
cairo-devel: fix build failure in quartz variant; closes #22548

Modified Paths:
--------------
    trunk/dports/graphics/cairo-devel/Portfile

Added Paths:
-----------
    trunk/dports/graphics/cairo-devel/files/
    trunk/dports/graphics/cairo-devel/files/patch-src-cairo-quartz-image-surface.c.diff

Modified: trunk/dports/graphics/cairo-devel/Portfile
===================================================================
--- trunk/dports/graphics/cairo-devel/Portfile	2009-11-16 01:54:14 UTC (rev 60577)
+++ trunk/dports/graphics/cairo-devel/Portfile	2009-11-16 02:02:51 UTC (rev 60578)
@@ -51,6 +51,8 @@
                         lib/libz.dylib \
                         lib/libexpat.dylib
 
+patchfiles              patch-src-cairo-quartz-image-surface.c.diff
+
 pre-extract {
     if {"darwin" == ${os.platform} && 8 == ${os.major}} {
         set minimum_xcodeversion 2.4.1

Added: trunk/dports/graphics/cairo-devel/files/patch-src-cairo-quartz-image-surface.c.diff
===================================================================
--- trunk/dports/graphics/cairo-devel/files/patch-src-cairo-quartz-image-surface.c.diff	                        (rev 0)
+++ trunk/dports/graphics/cairo-devel/files/patch-src-cairo-quartz-image-surface.c.diff	2009-11-16 02:02:51 UTC (rev 60578)
@@ -0,0 +1,11 @@
+--- src/cairo-quartz-image-surface.c.orig	2009-11-15 20:27:21.000000000 +0100
++++ src/cairo-quartz-image-surface.c	2009-11-15 20:28:51.000000000 +0100
+@@ -59,7 +59,7 @@
+ {
+     cairo_surface_t *result;
+     cairo_surface_t *isurf =
+-	_cairo_image_surface_create_for_content (content, width, height);
++	_cairo_image_surface_create_with_content (content, width, height);
+     if (cairo_surface_status(isurf))
+ 	return isurf;
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091115/78d858d6/attachment.html>


More information about the macports-changes mailing list