From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 6 22:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D0FD31BB for ; Sun, 6 Jan 2013 22:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B3C3E1B0A for ; Sun, 6 Jan 2013 22:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r06MU0Lu035600 for ; Sun, 6 Jan 2013 22:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r06MU0oC035596; Sun, 6 Jan 2013 22:30:00 GMT (envelope-from gnats) Resent-Date: Sun, 6 Jan 2013 22:30:00 GMT Resent-Message-Id: <201301062230.r06MU0oC035596@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, Pedro Giffuni Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B7F7317D for ; Sun, 6 Jan 2013 22:24:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 799221AE9 for ; Sun, 6 Jan 2013 22:24:42 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r06MOf39029196 for ; Sun, 6 Jan 2013 22:24:41 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r06MOf7R029195; Sun, 6 Jan 2013 22:24:41 GMT (envelope-from nobody) Message-Id: <201301062224.r06MOf7R029195@red.freebsd.org> Date: Sun, 6 Jan 2013 22:24:41 GMT From: Pedro Giffuni To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/175078: devel/boost-libs. fix Issue 6127 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: Sun, 06 Jan 2013 22:30:00 -0000 >Number: 175078 >Category: ports >Synopsis: devel/boost-libs. fix Issue 6127 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 06 22:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Pedro Giffuni >Release: 9.1-PRERELEASE >Organization: >Environment: FreeBSD pcbsd-8555 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #7: Sun Oct 7 00:05:03 COT 2012 Pedro@pcbsd-8555:/usr/src/sys/amd64/compile/GENERIC amd64 >Description: While I was adding some functionality to Apache OpenOffice I found this issue with Boost 1.48: https://svn.boost.org/trac/boost/ticket/6400 >How-To-Repeat: Try to use the Gamma functions :( >Fix: Patch from upstream included. Patch attached with submission follows: Index: boost-libs/files/patch-boost-lexical_cast.hpp =================================================================== --- boost-libs/files/patch-boost-lexical_cast.hpp (revision 0) +++ boost-libs/files/patch-boost-lexical_cast.hpp (working copy) @@ -0,0 +1,13 @@ +--- boost/lexical_cast.hpp.orig 2013-01-06 17:10:22.000000000 -0500 ++++ boost/lexical_cast.hpp 2013-01-06 17:11:25.000000000 -0500 +@@ -648,8 +648,8 @@ + , const CharT opening_brace, const CharT closing_brace) + { + using namespace std; +- const wchar_t minus = lcast_char_constants::minus; +- const wchar_t plus = lcast_char_constants::plus; ++ const CharT minus = lcast_char_constants::minus; ++ const CharT plus = lcast_char_constants::plus; + const int inifinity_size = 8; + + bool has_minus = false; Index: boost-libs/Makefile =================================================================== --- boost-libs/Makefile (revision 310013) +++ boost-libs/Makefile (working copy) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= boost-libs -PORTREVISION= 2 +PORTREVISION= 3 COMMENT= Free portable C++ libraries (without Boost.Python) USE_BZIP2= yes >Release-Note: >Audit-Trail: >Unformatted: