From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 14 04:10:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 14A64D37 for ; Sat, 14 Sep 2013 04:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E65792F05 for ; Sat, 14 Sep 2013 04:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8E4A0G7068857 for ; Sat, 14 Sep 2013 04:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8E4A0Ud068855; Sat, 14 Sep 2013 04:10:00 GMT (envelope-from gnats) Resent-Date: Sat, 14 Sep 2013 04:10:00 GMT Resent-Message-Id: <201309140410.r8E4A0Ud068855@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexey Illarionov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1236ACE7 for ; Sat, 14 Sep 2013 04:00:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F40E92EBD for ; Sat, 14 Sep 2013 04:00:24 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8E40OLq072749 for ; Sat, 14 Sep 2013 04:00:24 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8E40OIt072741; Sat, 14 Sep 2013 04:00:24 GMT (envelope-from nobody) Message-Id: <201309140400.r8E40OIt072741@oldred.freebsd.org> Date: Sat, 14 Sep 2013 04:00:24 GMT From: Alexey Illarionov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/182078: [maintainer] graphics/mapnik: fix Clang 3.3 build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Sep 2013 04:10:01 -0000 >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() + { + stl_input_iterator 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: