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:
parent
14a15de0aa
commit
cd4d5c7520
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200858
@ -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
|
||||
|
10
games/armagetron/files/patch-src-engine_eGrid.h
Normal file
10
games/armagetron/files/patch-src-engine_eGrid.h
Normal 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;
|
11
games/armagetron/files/patch-src-engine_eVoter.cpp
Normal file
11
games/armagetron/files/patch-src-engine_eVoter.cpp
Normal 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 );
|
11
games/armagetron/files/patch-src-engine_eWall.h
Normal file
11
games/armagetron/files/patch-src-engine_eWall.h
Normal 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{
|
10
games/armagetron/files/patch-src-network_nPriorizing.h
Normal file
10
games/armagetron/files/patch-src-network_nPriorizing.h
Normal 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 );
|
13
games/armagetron/files/patch-src-tron_gCycle.h
Normal file
13
games/armagetron/files/patch-src-tron_gCycle.h
Normal 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;
|
Loading…
Reference in New Issue
Block a user