[98641] trunk/dports/graphics/antigraingeometry

jmr at macports.org jmr at macports.org
Thu Oct 11 16:44:49 PDT 2012


Revision: 98641
          http://trac.macports.org//changeset/98641
Author:   jmr at macports.org
Date:     2012-10-11 16:44:49 -0700 (Thu, 11 Oct 2012)
Log Message:
-----------
antigraingeometry: fix code instead of blacklisting clang (#31880)

Modified Paths:
--------------
    trunk/dports/graphics/antigraingeometry/Portfile

Added Paths:
-----------
    trunk/dports/graphics/antigraingeometry/files/patch-include_agg_renderer_outline_aa.h.diff

Modified: trunk/dports/graphics/antigraingeometry/Portfile
===================================================================
--- trunk/dports/graphics/antigraingeometry/Portfile	2012-10-11 22:56:58 UTC (rev 98640)
+++ trunk/dports/graphics/antigraingeometry/Portfile	2012-10-11 23:44:49 UTC (rev 98641)
@@ -37,7 +37,8 @@
 
 depends_lib         port:freetype
 
-patchfiles          patch-automake-1.12.diff
+patchfiles          patch-automake-1.12.diff \
+                    patch-include_agg_renderer_outline_aa.h.diff
 
 # These patchfiles hack out sdl support, it can't be done with a
 # configure flag because of some autoconf/automake issues...
@@ -49,8 +50,6 @@
 autoreconf.args     -fvi
 autoreconf.env      AUTOMAKE="automake --foreign --add-missing --ignore-deps"
 
-compiler.blacklist  clang
-
 configure.args      --disable-ctrl \
                     --disable-examples \
                     --disable-platform

Added: trunk/dports/graphics/antigraingeometry/files/patch-include_agg_renderer_outline_aa.h.diff
===================================================================
--- trunk/dports/graphics/antigraingeometry/files/patch-include_agg_renderer_outline_aa.h.diff	                        (rev 0)
+++ trunk/dports/graphics/antigraingeometry/files/patch-include_agg_renderer_outline_aa.h.diff	2012-10-11 23:44:49 UTC (rev 98641)
@@ -0,0 +1,11 @@
+--- include/agg_renderer_outline_aa.h.orig	2006-10-09 14:07:08.000000000 +1000
++++ include/agg_renderer_outline_aa.h	2012-10-12 10:37:54.000000000 +1100
+@@ -1375,7 +1375,7 @@ namespace agg
+         //---------------------------------------------------------------------
+         void profile(const line_profile_aa& prof) { m_profile = &prof; }
+         const line_profile_aa& profile() const { return *m_profile; }
+-        line_profile_aa& profile() { return *m_profile; }
++        const line_profile_aa& profile() { return *m_profile; }
+ 
+         //---------------------------------------------------------------------
+         int subpixel_width() const { return m_profile->subpixel_width(); }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121011/85c3dd61/attachment.html>


More information about the macports-changes mailing list