1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Unbreak

- Fix build with gcc 4.2
This commit is contained in:
Martin Wilke 2007-10-04 21:47:16 +00:00
parent 14a15de0aa
commit cd4d5c7520
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200858
6 changed files with 55 additions and 4 deletions

View File

@ -30,10 +30,6 @@ OPTIONS= MUSIC "Compile in support for background music" on
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
.endif
.if !defined(WITHOUT_MUSIC)
USE_SDL+= mixer
CONFIGURE_ARGS+=--enable-music

View File

@ -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;

View File

@ -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 );

View File

@ -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{

View File

@ -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 );

View File

@ -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;