Index: files/patch-cairo-quartz-image-surface.c.diff
===================================================================
--- files/patch-cairo-quartz-image-surface.c.diff	(revision 0)
+++ files/patch-cairo-quartz-image-surface.c.diff	(revision 0)
@@ -0,0 +1,14 @@
+--- src/cairo-quartz-image-surface.c	2008-04-04 17:45:23.000000000 -0500
++++ src/cairo-quartz-image-surface.c	2008-08-13 00:26:19.000000000 -0500
+@@ -45,6 +45,11 @@
+ #define SURFACE_ERROR_NO_MEMORY (_cairo_surface_create_in_error(_cairo_error(CAIRO_STATUS_NO_MEMORY)))
+ #define SURFACE_ERROR_INVALID_FORMAT (_cairo_surface_create_in_error(_cairo_error(CAIRO_STATUS_INVALID_FORMAT)))
+ 
++#ifndef kCGBitmapByteOrder32Host
++#define kCGBitmapByteOrder32Host 0
++typedef uint32_t CGBitmapInfo;
++#endif
++
+ CGImageRef
+ _cairo_quartz_create_cgimage (cairo_format_t format,
+ 			      unsigned int width,
Index: Portfile
===================================================================
--- Portfile	(revision 39235)
+++ Portfile	(working copy)
@@ -42,6 +42,7 @@
     port:expat
 
 patchfiles \
+    patch-cairo-quartz-image-surface.c.diff \
     patch-FcFini.diff
 
 # The +universal variant is written in such a way that the port's global

