[49883] trunk/dports/graphics/cairomm
jmr at macports.org
jmr at macports.org
Sun Apr 19 07:47:48 PDT 2009
Revision: 49883
http://trac.macports.org/changeset/49883
Author: jmr at macports.org
Date: 2009-04-19 07:47:47 -0700 (Sun, 19 Apr 2009)
Log Message:
-----------
cairomm: follow cairo in removing ATSUI functions when building for 64-bit
Modified Paths:
--------------
trunk/dports/graphics/cairomm/Portfile
Added Paths:
-----------
trunk/dports/graphics/cairomm/files/
trunk/dports/graphics/cairomm/files/patch-quartz-lp64.diff
Modified: trunk/dports/graphics/cairomm/Portfile
===================================================================
--- trunk/dports/graphics/cairomm/Portfile 2009-04-19 13:55:56 UTC (rev 49882)
+++ trunk/dports/graphics/cairomm/Portfile 2009-04-19 14:47:47 UTC (rev 49883)
@@ -25,6 +25,8 @@
depends_lib port:cairo \
port:libsigcxx2
+patchfiles patch-quartz-lp64.diff
+
livecheck.check regex
livecheck.url http://cairographics.org/releases/
livecheck.regex "${name}-(${branch}(?:\\.\\d+)*)${extract.suffix}"
Added: trunk/dports/graphics/cairomm/files/patch-quartz-lp64.diff
===================================================================
--- trunk/dports/graphics/cairomm/files/patch-quartz-lp64.diff (rev 0)
+++ trunk/dports/graphics/cairomm/files/patch-quartz-lp64.diff 2009-04-19 14:47:47 UTC (rev 49883)
@@ -0,0 +1,47 @@
+--- cairomm/quartz_font.cc.orig 2008-12-21 04:37:46.000000000 +1100
++++ cairomm/quartz_font.cc 2009-04-20 00:37:32.000000000 +1000
+@@ -30,21 +30,25 @@ QuartzFontFace::QuartzFontFace(CGFontRef
+ check_object_status_and_throw_exception(*this);
+ }
+
++#if !defined(__LP64__)
+ QuartzFontFace::QuartzFontFace(ATSUFontID font_id) :
+ FontFace(cairo_quartz_font_face_create_for_atsu_font_id(font_id), true)
+ {
+ check_object_status_and_throw_exception(*this);
+ }
++#endif
+
+ RefPtr<QuartzFontFace> QuartzFontFace::create(CGFontRef font)
+ {
+ return RefPtr<QuartzFontFace>(new QuartzFontFace(font));
+ }
+
++#if !defined(__LP64__)
+ RefPtr<QuartzFontFace> QuartzFontFace::create(ATSUFontID font_id)
+ {
+ return RefPtr<QuartzFontFace>(new QuartzFontFace(font_id));
+ }
++#endif
+
+ }
+
+--- cairomm/quartz_font.h.orig 2008-12-21 04:37:46.000000000 +1100
++++ cairomm/quartz_font.h 2009-04-20 00:38:45.000000000 +1000
+@@ -54,12 +54,16 @@ public:
+ *
+ * @since 1.8
+ */
++#if !defined(__LP64__)
+ static RefPtr<QuartzFontFace> create(ATSUFontID font_id);
++#endif
+
+
+ protected:
+ QuartzFontFace(CGFontRef font);
++#if !defined(__LP64__)
+ QuartzFontFace(ATSUFontID font_id);
++#endif
+ };
+
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090419/6fa63ff1/attachment.html>
More information about the macports-changes
mailing list