freebsd-ports/graphics/mapnik/files/patch-bindings-python-mapnik_text_placement.cpp
Guido Falsi af818f781e - Fix build with clang
- Convert to USES scons
- Use new LIB_DEPENDS format
- Support staging

PR:		ports/182078
Submitted by:	Alexey Illarionov <littlesavage@rambler.ru>
2013-10-07 20:15:05 +00:00

15 lines
596 B
C++

--- bindings/python/mapnik_text_placement.cpp.orig 2013-09-14 06:44:28.000000000 +0400
+++ bindings/python/mapnik_text_placement.cpp 2013-09-14 06:46:57.000000000 +0400
@@ -194,7 +194,11 @@
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.