[91266] trunk/dports/python/py-matplotlib

ram at macports.org ram at macports.org
Tue Mar 27 19:33:15 PDT 2012


Revision: 91266
          https://trac.macports.org/changeset/91266
Author:   ram at macports.org
Date:     2012-03-27 19:33:14 -0700 (Tue, 27 Mar 2012)
Log Message:
-----------
python/py-matplotlib: apply upstream patch that fixes build using clang (#31046)

Modified Paths:
--------------
    trunk/dports/python/py-matplotlib/Portfile

Added Paths:
-----------
    trunk/dports/python/py-matplotlib/files/patch-add_renderer_outline_aa.h.diff

Modified: trunk/dports/python/py-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py-matplotlib/Portfile	2012-03-28 02:01:20 UTC (rev 91265)
+++ trunk/dports/python/py-matplotlib/Portfile	2012-03-28 02:33:14 UTC (rev 91266)
@@ -6,7 +6,7 @@
 categories-append  graphics math
 name               py-matplotlib
 version            1.1.0
-revision           2
+revision           3
 maintainers        ram openmaintainer
 platforms          darwin
 license            {PSF BSD}
@@ -51,12 +51,9 @@
 
 patchfiles         patch-setupext.py.diff \
                    patch-setup.cfg.diff \
-                   patch-disable_optional_deps.diff
+                   patch-disable_optional_deps.diff \
+                   patch-add_renderer_outline_aa.h.diff
 
-if {${configure.compiler} == "clang"} {
-    configure.compiler llvm-gcc-4.2
-}
-
 build.env          MPLIB_BASE="${prefix}" PKG_CONFIG_PATH="${python.prefix}/lib/pkgconfig/"
 
 post-patch {

Added: trunk/dports/python/py-matplotlib/files/patch-add_renderer_outline_aa.h.diff
===================================================================
--- trunk/dports/python/py-matplotlib/files/patch-add_renderer_outline_aa.h.diff	                        (rev 0)
+++ trunk/dports/python/py-matplotlib/files/patch-add_renderer_outline_aa.h.diff	2012-03-28 02:33:14 UTC (rev 91266)
@@ -0,0 +1,11 @@
+--- agg24/include/agg_renderer_outline_aa.h
++++ agg24/include/agg_renderer_outline_aa.h
+@@ -1365,7 +1365,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/20120327/8c3176b9/attachment.html>


More information about the macports-changes mailing list