From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 19 04:50:10 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C8281065673 for ; Mon, 19 Dec 2011 04:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 57B298FC12 for ; Mon, 19 Dec 2011 04:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBJ4oATQ025450 for ; Mon, 19 Dec 2011 04:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBJ4oAwp025449; Mon, 19 Dec 2011 04:50:10 GMT (envelope-from gnats) Resent-Date: Mon, 19 Dec 2011 04:50:10 GMT Resent-Message-Id: <201112190450.pBJ4oAwp025449@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, Jan Beich Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87D5D1065672 for ; Mon, 19 Dec 2011 04:40:13 +0000 (UTC) (envelope-from jbeich@tormail.net) Received: from server2.hudsonvalleyhost.com (server2.hudsonvalleyhost.com [66.7.195.77]) by mx1.freebsd.org (Postfix) with ESMTP id 5650A8FC0A for ; Mon, 19 Dec 2011 04:40:13 +0000 (UTC) Received: from tor.cinipac.net ([79.172.193.89]:44128 helo=internal.tormail.net) by server2.hudsonvalleyhost.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1RcV1J-0004P8-4F for FreeBSD-gnats-submit@freebsd.org; Sun, 18 Dec 2011 23:40:13 -0500 Received: from jbeich by internal.tormail.net with local (Exim 4.63) (envelope-from ) id 1RcV08-000Fpa-L2 for FreeBSD-gnats-submit@freebsd.org; Mon, 19 Dec 2011 04:39:02 +0000 Message-Id: <1RcV08-000Fpa-L2@internal.tormail.net> Date: Sun, 18 Dec 2011 17:05:50 -1100 From: Jan Beich To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/163444: [patch] devel/ragel: unbreak with libc++ X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 04:50:10 -0000 >Number: 163444 >Category: ports >Synopsis: [patch] devel/ragel: unbreak with libc++ >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 19 04:50:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: WITH_LIBCPLUSPLUS= CXX = clang++ CXXFLAGS += -stdlib=libc++ >Description: >How-To-Repeat: $ make [...] clang++ -DHAVE_CONFIG_H -I. -I../aapl -Wall -O2 -pipe -fno-strict-aliasing -stdlib=libc++ -MT ragel-javacodegen.o -MD -MP -MF .deps/ragel-javacodegen.Tpo -c -o ragel-javacodegen.o `test -f 'javacodegen.cpp' || echo './'`javacodegen.cpp In file included from cdsplit.cpp:24: ./cdsplit.h:38:7: warning: 'SplitCodeGen::GOTO_HEADER' hides overloaded virtual function [-Woverloaded-virtual] void GOTO_HEADER( RedStateAp *state, bool stateInPartition ); ^ ./cdipgoto.h:66:7: note: hidden overloaded virtual function 'IpGotoCodeGen::GOTO_HEADER' declared here void GOTO_HEADER( RedStateAp *state ); ^ javacodegen.cpp:1187:20: error: use of undeclared identifier 'setiosflags'; did you mean 'std::setiosflags'? out << setw(5) << setiosflags(ios::right) << item; ^~~~~~~~~~~ std::setiosflags /usr/include/c++/v1/iomanip:110:1: note: 'std::setiosflags' declared here setiosflags(ios_base::fmtflags __mask) ^ 1 error generated. gmake[2]: *** [ragel-javacodegen.o] Error 1 >Fix: --- libc++.diff begins here --- Index: devel/ragel/Makefile =================================================================== RCS file: /a/.csup/ports/devel/ragel/Makefile,v retrieving revision 1.41 diff -u -p -r1.41 Makefile --- devel/ragel/Makefile 21 Oct 2011 15:22:07 -0000 1.41 +++ devel/ragel/Makefile 19 Dec 2011 03:53:41 -0000 @@ -33,6 +33,8 @@ post-patch: ${WRKSRC}/aapl/bstcommon.h \ ${WRKSRC}/aapl/bubblesort.h \ ${WRKSRC}/aapl/mergesort.h + @${REINPLACE_CMD} 's/setiosflags/std::&/' \ + ${WRKSRC}/ragel/javacodegen.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ragel/${PORTNAME} ${PREFIX}/bin --- libc++.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: