From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 12 15:50:01 2007 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 809CE16A46D for ; Mon, 12 Nov 2007 15:50:01 +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 5CD2313C4A8 for ; Mon, 12 Nov 2007 15:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lACFo1Kw007294 for ; Mon, 12 Nov 2007 15:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lACFo1Gg007293; Mon, 12 Nov 2007 15:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 12 Nov 2007 15:50:01 GMT Resent-Message-Id: <200711121550.lACFo1Gg007293@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, "\"Pietro Cerutti\" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F34316A418 for ; Mon, 12 Nov 2007 15:41:39 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 0188A13C481 for ; Mon, 12 Nov 2007 15:41:38 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpa (Exim 4.63) (envelope-from ) id 1IrbPc-0002nF-GG for FreeBSD-gnats-submit@freebsd.org; Mon, 12 Nov 2007 16:41:20 +0100 Received: from gahrtop.localhost (localhost [127.0.0.1]) by gahrtop.localhost (Postfix) with ESMTP id 3451D73085 for ; Mon, 12 Nov 2007 16:41:15 +0100 (CET) Message-Id: <1194882075.17631@gahrtop.localhost> Date: Mon, 12 Nov 2007 16:41:15 +0100 From: "\"Pietro Cerutti\" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.8 Cc: Subject: ports/118009: [patch] net-mgmt/arts++ unbreak fix build with GCC 4.2 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, 12 Nov 2007 15:50:01 -0000 >Number: 118009 >Category: ports >Synopsis: [patch] net-mgmt/arts++ unbreak fix build with GCC 4.2 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 12 15:50:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: FreeBSD 8.0-CURRENT i386 >Organization: Bern University of Applied Sciences >Environment: System: FreeBSD 8.0-CURRENT #9: Fri Nov 9 14:50:37 CET 2007 root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034 >Description: - fixed a few "extra qualification" errors >How-To-Repeat: cd /usr/ports/net-mgmt/arts++ && make >Fix: --- _arts++.diff begins here --- --- Makefile.orig 2007-11-12 16:11:09.000000000 +0100 +++ Makefile 2007-11-12 16:11:21.000000000 +0100 @@ -24,12 +24,6 @@ artsasagg.l artsportms.l artsportmagg.l artsintfms.l \ artsintfmagg.l artsnexthops.l artsnexthopagg.l artstos.l -.include - -.if ${OSVERSION} >= 700042 -BROKEN= Broken with gcc 4.2 -.endif - post-patch: @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/ltconfig @@ -47,4 +41,4 @@ .endfor .endif -.include +.include --- /dev/null 2007-11-12 16:28:04.000000000 +0100 +++ files/patch-classes-include_ArtsHeader.hh 2007-11-12 16:20:00.000000000 +0100 @@ -0,0 +1,19 @@ +--- classes/include/ArtsHeader.hh.orig 2007-11-12 16:12:56.000000000 +0100 ++++ classes/include/ArtsHeader.hh 2007-11-12 16:14:55.000000000 +0100 +@@ -421,14 +421,14 @@ + //......................................................................... + //! Reads the ARTS header from an istream. + //------------------------------------------------------------------------- +- std::istream& ArtsHeader::read(std::istream& is); ++ std::istream& read(std::istream& is); + + //------------------------------------------------------------------------- + // int ArtsHeader::read(int fd) + //......................................................................... + //! Reads the ARTS header from a file descriptor. + //------------------------------------------------------------------------- +- int ArtsHeader::read(int fd); ++ int read(int fd); + + + //------------------------------------------------------------------------- --- /dev/null 2007-11-12 16:28:15.000000000 +0100 +++ files/patch-classes-include_ArtsPortMatrixAggregator.hh 2007-11-12 16:20:58.000000000 +0100 @@ -0,0 +1,10 @@ +--- classes/include/ArtsPortMatrixAggregator.hh.orig 2007-11-12 16:17:18.000000000 +0100 ++++ classes/include/ArtsPortMatrixAggregator.hh 2007-11-12 16:17:28.000000000 +0100 +@@ -166,7 +166,6 @@ + // + //-------------------------------------------------------------------------- + ArtsSelectedPortTable * +- ArtsPortMatrixAggregator:: + ConvertToArtsSelectedPortTable(int numTopPorts, + bool byPkts = false) const; + --- /dev/null 2007-11-12 16:28:21.000000000 +0100 +++ files/patch-classes-include_ArtsSelectedPortTable.hh 2007-11-12 16:20:30.000000000 +0100 @@ -0,0 +1,11 @@ +--- classes/include/ArtsSelectedPortTable.hh.orig 2007-11-12 16:16:29.000000000 +0100 ++++ classes/include/ArtsSelectedPortTable.hh 2007-11-12 16:16:57.000000000 +0100 +@@ -131,7 +131,7 @@ + //......................................................................... + //! Returns a reference to the ArtsPortChooser in the object. + //------------------------------------------------------------------------- +- ArtsPortChooser & ArtsSelectedPortTable::PortChooser() const; ++ ArtsPortChooser & PortChooser() const; + + //------------------------------------------------------------------------- + // std::vector & PortEntries() const --- _arts++.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: