Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2013 04:00:24 GMT
From:      Alexey Illarionov <littlesavage@rambler.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182078: [maintainer] graphics/mapnik: fix Clang 3.3 build
Message-ID:  <201309140400.r8E40OIt072741@oldred.freebsd.org>
Resent-Message-ID: <201309140410.r8E4A0Ud068855@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182078
>Category:       ports
>Synopsis:       [maintainer] graphics/mapnik: fix Clang 3.3 build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 14 04:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Illarionov
>Release:        
>Organization:
>Environment:
>Description:
Fix build with Clang 3.3 on 10-CURRENT

https://github.com/mapnik/mapnik/issues/1973

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN graphics/mapnik.orig/files/patch-bindings-python-mapnik_text_placement.cpp graphics/mapnik/files/patch-bindings-python-mapnik_text_placement.cpp
--- graphics/mapnik.orig/files/patch-bindings-python-mapnik_text_placement.cpp	1970-01-01 03:00:00.000000000 +0300
+++ graphics/mapnik/files/patch-bindings-python-mapnik_text_placement.cpp	2013-09-14 06:48:05.000000000 +0400
@@ -0,0 +1,15 @@
+--- 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.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309140400.r8E40OIt072741>