From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 2 16: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 D0E6916A46B for ; Tue, 2 Oct 2007 16: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 A0F5B13C467 for ; Tue, 2 Oct 2007 16: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 l92Go1GN084424 for ; Tue, 2 Oct 2007 16: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 l92Go1Zw084423; Tue, 2 Oct 2007 16:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 2 Oct 2007 16:50:01 GMT Resent-Message-Id: <200710021650.l92Go1Zw084423@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, Martin Wilke Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5355416A417 for ; Tue, 2 Oct 2007 16:49:28 +0000 (UTC) (envelope-from miwi@miwi.homeunix.com) Received: from miwi.homeunix.com (dslb-082-083-155-037.pools.arcor-ip.net [82.83.155.37]) by mx1.freebsd.org (Postfix) with ESMTP id B2BDB13C45A for ; Tue, 2 Oct 2007 16:49:27 +0000 (UTC) (envelope-from miwi@miwi.homeunix.com) Received: by miwi.homeunix.com (Postfix, from userid 1010) id BE4C52E114; Tue, 2 Oct 2007 18:49:26 +0200 (CEST) Message-Id: <20071002164926.BE4C52E114@miwi.homeunix.com> Date: Tue, 2 Oct 2007 18:49:26 +0200 (CEST) From: Martin Wilke To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: mux@FreeBSD.org Subject: ports/116834: [PATCH] games/armagetron: Fix buil 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: Tue, 02 Oct 2007 16:50:01 -0000 >Number: 116834 >Category: ports >Synopsis: [PATCH] games/armagetron: Fix buil with gcc 4.2 >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: Tue Oct 02 16:50:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Martin Wilke >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD miwi.homeunix.com 7.0-CURRENT FreeBSD 7.0-CURRENT #305: Fri Sep 28 12:07:59 CEST 2007 >Description: - Unbreak - Fix build with gcc4.2 Tindy tested: i386 http://head.miwibox.org/tb/index.php?action=describe_port&id=2164 amd64 http://amd64.miwibox.org/tb/index.php?action=describe_port&id=1605 Added file(s): - files/patch-src-engine_eGrid.h - files/patch-src-engine_eVoter.cpp - files/patch-src-engine_eWall.h - files/patch-src-network_nPriorizing.h - files/patch-src-tron_gCycle.h Port maintainer (mux@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- armagetron-0.2.7.1_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/games/armagetron/Makefile,v retrieving revision 1.5 diff -u -u -r1.5 Makefile --- Makefile 2 Oct 2007 10:46:22 -0000 1.5 +++ Makefile 2 Oct 2007 16:29:38 -0000 @@ -30,10 +30,6 @@ .include -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile with GCC 4.2 -.endif - .if !defined(WITHOUT_MUSIC) USE_SDL+= mixer CONFIGURE_ARGS+=--enable-music Index: files/patch-src-engine_eGrid.h =================================================================== RCS file: files/patch-src-engine_eGrid.h diff -N files/patch-src-engine_eGrid.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-engine_eGrid.h 2 Oct 2007 16:15:38 -0000 @@ -0,0 +1,10 @@ +--- src/engine/eGrid.h.orig 2007-10-02 18:09:58.000000000 +0200 ++++ src/engine/eGrid.h 2007-10-02 18:10:10.000000000 +0200 +@@ -39,6 +39,7 @@ + class ePoint; + class eFace; + class eHalfEdge; ++class eGameObject; + class eWall; + class eGrid; + class eWallView; Index: files/patch-src-engine_eVoter.cpp =================================================================== RCS file: files/patch-src-engine_eVoter.cpp diff -N files/patch-src-engine_eVoter.cpp --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-engine_eVoter.cpp 2 Oct 2007 16:15:46 -0000 @@ -0,0 +1,11 @@ +--- src/engine/eVoter.cpp.orig 2007-10-02 18:10:33.000000000 +0200 ++++ src/engine/eVoter.cpp 2007-10-02 18:10:58.000000000 +0200 +@@ -39,6 +39,8 @@ + #include "ePlayer.h" + #include "eGrid.h" + ++class eMenuItemVote; ++ + static unsigned short se_votingItemID = 0; + static float se_votingTimeout = 300.0f; + static nSettingItem< float > se_vt( "VOTING_TIMEOUT", se_votingTimeout ); Index: files/patch-src-engine_eWall.h =================================================================== RCS file: files/patch-src-engine_eWall.h diff -N files/patch-src-engine_eWall.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-engine_eWall.h 2 Oct 2007 16:15:56 -0000 @@ -0,0 +1,11 @@ +--- src/engine/eWall.h.orig 2007-10-02 18:12:07.000000000 +0200 ++++ src/engine/eWall.h 2007-10-02 18:13:02.000000000 +0200 +@@ -53,6 +53,8 @@ + + + class eWall; ++class eWallView; ++class eWallHolder; + class eGameObject; + + class eWallView:public tHeapElement{ Index: files/patch-src-network_nPriorizing.h =================================================================== RCS file: files/patch-src-network_nPriorizing.h diff -N files/patch-src-network_nPriorizing.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-network_nPriorizing.h 2 Oct 2007 16:20:36 -0000 @@ -0,0 +1,10 @@ +--- src/network/nPriorizing.h.orig 2007-10-02 18:17:42.000000000 +0200 ++++ src/network/nPriorizing.h 2007-10-02 18:18:00.000000000 +0200 +@@ -36,6 +36,7 @@ + class nSendBuffer; + class nBandwidthControl; + class nBandwidthTask; ++class nBandwidthTaskPriorizer; + + tDECLARE_REFOBJ( nBandwidthTask ); + tDECLARE_REFOBJ( nBandwidthArbitrator ); Index: files/patch-src-tron_gCycle.h =================================================================== RCS file: files/patch-src-tron_gCycle.h diff -N files/patch-src-tron_gCycle.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-tron_gCycle.h 2 Oct 2007 16:20:44 -0000 @@ -0,0 +1,13 @@ +--- src/tron/gCycle.h.orig 2007-10-02 18:18:27.000000000 +0200 ++++ src/tron/gCycle.h 2007-10-02 18:18:51.000000000 +0200 +@@ -40,6 +40,10 @@ + class gTextureCycle; + class eSoundPlayer; + class gSensor; ++class gCycle; ++class gPlayerWall; ++class gNetPlayerWall; ++class gDestination; + + // minimum time between two cycle turns + extern REAL sg_delayCycle; --- armagetron-0.2.7.1_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: