[72365] trunk/dports/graphics/cairo
ryandesign at macports.org
ryandesign at macports.org
Tue Oct 12 00:18:45 PDT 2010
Revision: 72365
http://trac.macports.org/changeset/72365
Author: ryandesign at macports.org
Date: 2010-10-12 00:18:41 -0700 (Tue, 12 Oct 2010)
Log Message:
-----------
cairo: fix "comma at end of enumerator list" error when cairo-using projects are compiled with stricter warnings enabled; see #26806
Modified Paths:
--------------
trunk/dports/graphics/cairo/Portfile
Added Paths:
-----------
trunk/dports/graphics/cairo/files/
trunk/dports/graphics/cairo/files/patch-src-cairo.h.diff
Modified: trunk/dports/graphics/cairo/Portfile
===================================================================
--- trunk/dports/graphics/cairo/Portfile 2010-10-12 04:56:49 UTC (rev 72364)
+++ trunk/dports/graphics/cairo/Portfile 2010-10-12 07:18:41 UTC (rev 72365)
@@ -10,6 +10,7 @@
conflicts cairo-devel
set my_name cairo
version 1.10.0
+revision 1
categories graphics
maintainers ryandesign
license LGPLv2.1/MPLv1.1
@@ -51,6 +52,8 @@
minimum_xcodeversions {8 2.4.1}
+patchfiles patch-src-cairo.h.diff
+
pre-configure {
set pixman_minimum_version 0.12.0
set pixman_installed_version [exec pkg-config pixman-1 --modversion]
Added: trunk/dports/graphics/cairo/files/patch-src-cairo.h.diff
===================================================================
--- trunk/dports/graphics/cairo/files/patch-src-cairo.h.diff (rev 0)
+++ trunk/dports/graphics/cairo/files/patch-src-cairo.h.diff 2010-10-12 07:18:41 UTC (rev 72365)
@@ -0,0 +1,11 @@
+--- src/cairo.h.orig
++++ src/cairo.h
+@@ -1973,7 +1973,7 @@ typedef enum _cairo_device_type {
+ CAIRO_DEVICE_TYPE_SCRIPT,
+ CAIRO_DEVICE_TYPE_XCB,
+ CAIRO_DEVICE_TYPE_XLIB,
+- CAIRO_DEVICE_TYPE_XML,
++ CAIRO_DEVICE_TYPE_XML
+ } cairo_device_type_t;
+
+ cairo_public cairo_device_type_t
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101012/a984e956/attachment.html>
More information about the macports-changes
mailing list