Date: Sun, 6 Jan 2013 22:24:41 GMT From: Pedro Giffuni <giffunip@tutopia.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/175078: devel/boost-libs. fix Issue 6127 Message-ID: <201301062224.r06MOf7R029195@red.freebsd.org> Resent-Message-ID: <201301062230.r06MU0oC035596@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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<wchar_t>::minus; +- const wchar_t plus = lcast_char_constants<wchar_t>::plus; ++ const CharT minus = lcast_char_constants<CharT>::minus; ++ const CharT plus = lcast_char_constants<CharT>::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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301062224.r06MOf7R029195>