[114807] trunk/dports/gis/mapnik
stromnov at macports.org
stromnov at macports.org
Sun Dec 15 13:24:50 PST 2013
Revision: 114807
https://trac.macports.org/changeset/114807
Author: stromnov at macports.org
Date: 2013-12-15 13:24:50 -0800 (Sun, 15 Dec 2013)
Log Message:
-----------
mapnik: workaround for #41823
Modified Paths:
--------------
trunk/dports/gis/mapnik/Portfile
Added Paths:
-----------
trunk/dports/gis/mapnik/files/
trunk/dports/gis/mapnik/files/patch-bindings_python_mapnik_text_placement.cpp.diff
Modified: trunk/dports/gis/mapnik/Portfile
===================================================================
--- trunk/dports/gis/mapnik/Portfile 2013-12-15 20:39:31 UTC (rev 114806)
+++ trunk/dports/gis/mapnik/Portfile 2013-12-15 21:24:50 UTC (rev 114807)
@@ -112,6 +112,9 @@
default_variants +python27
universal_variant no
+# workaround for #41823 (c++11 compile error with boost 1.55+ and mapnik 2.2.0)
+patchfiles-append patch-bindings_python_mapnik_text_placement.cpp.diff
+
configure.pkg_config ${prefix}/bin/pkg-config
if {[variant_isset python26]} {
Added: trunk/dports/gis/mapnik/files/patch-bindings_python_mapnik_text_placement.cpp.diff
===================================================================
--- trunk/dports/gis/mapnik/files/patch-bindings_python_mapnik_text_placement.cpp.diff (rev 0)
+++ trunk/dports/gis/mapnik/files/patch-bindings_python_mapnik_text_placement.cpp.diff 2013-12-15 21:24:50 UTC (rev 114807)
@@ -0,0 +1,16 @@
+--- bindings/python/mapnik_text_placement.cpp
++++ bindings/python/mapnik_text_placement.cpp
+@@ -194,7 +194,11 @@ struct ListNodeWrap: formatting::list_node, wrapper<formatting::list_node>
+ ListNodeWrap(object l) : formatting::list_node(), wrapper<formatting::list_node>()
+ {
+ stl_input_iterator<formatting::node_ptr> begin(l), end;
+- children_.insert(children_.end(), begin, end);
++ while (begin != end)
++ {
++ children_.push_back(*begin);
++ ++begin;
++ }
+ }
+
+ /* TODO: Add constructor taking variable number of arguments.
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131215/a6dc4fe3/attachment.html>
More information about the macports-changes
mailing list