From jbeich@tormail.net  Mon Dec 19 04:40:13 2011
Return-Path: <jbeich@tormail.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 87D5D1065672
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <jbeich@tormail.net>)
	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 <jbeich@tormail.net>)
	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 <jbeich@tormail.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] devel/ragel: unbreak with libc++

>Number:         163444
>Category:       ports
>Synopsis:       [patch] devel/ragel: unbreak with libc++
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 19 04:50:09 UTC 2011
>Closed-Date:    Sat Jan 14 19:18:12 UTC 2012
>Last-Modified:  Sat Jan 14 19:20:53 UTC 2012
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Dec 19 04:50:24 UTC 2011 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163444 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Jan 14 19:18:11 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163444 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/163444: commit references a PR
Date: Sat, 14 Jan 2012 19:18:17 +0000 (UTC)

 miwi        2012-01-14 19:18:04 UTC
 
   FreeBSD ports repository
 
   Added files:
     graphics/bugle/files patch-mvtu.sh 
   Log:
   - Unbreak with libc++
   
   PR:             163444
   Submitted by:   Jan Beich <jbeich@tormail.net>
   
   Revision  Changes    Path
   1.1       +10 -0     ports/graphics/bugle/files/patch-mvtu.sh (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/163444: commit references a PR
Date: Sat, 14 Jan 2012 19:19:07 +0000 (UTC)

 miwi        2012-01-14 19:18:53 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/ragel          Makefile 
   Log:
   - Unbreak build with libc++
   
   PR:             163444
   Submitted by:   Jan Beich <jbeich@tormail.net>
   
   Revision  Changes    Path
   1.42      +2 -0      ports/devel/ragel/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
