aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/xblast/Makefile2
-rw-r--r--games/xblast/files/patch-cfg__control.h11
-rw-r--r--games/xblast/files/patch-network.h11
3 files changed, 23 insertions, 1 deletions
diff --git a/games/xblast/Makefile b/games/xblast/Makefile
index 22caa32c8456..5a34573783b9 100644
--- a/games/xblast/Makefile
+++ b/games/xblast/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xblast
PORTVERSION= 2.10.4
-PORTREVISION= 17
+PORTREVISION= 18
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/Sources/${PORTVERSION} \
SF/${PORTNAME}/Images/${IMAGES_DATE}:images \
diff --git a/games/xblast/files/patch-cfg__control.h b/games/xblast/files/patch-cfg__control.h
new file mode 100644
index 000000000000..bc4449efd09d
--- /dev/null
+++ b/games/xblast/files/patch-cfg__control.h
@@ -0,0 +1,11 @@
+--- cfg_control.h.orig 2006-02-09 21:21:23 UTC
++++ cfg_control.h
+@@ -29,7 +29,7 @@
+ #define NUM_KEYB_CONTROLS 2
+
+ /* constant assignment of control to event type */
+-const XBEventCode keyEventType[NUM_KEYB_CONTROLS];
++extern const XBEventCode keyEventType[NUM_KEYB_CONTROLS];
+
+ /* ingame controls for editing*/
+ typedef struct
diff --git a/games/xblast/files/patch-network.h b/games/xblast/files/patch-network.h
new file mode 100644
index 000000000000..80a3acc48732
--- /dev/null
+++ b/games/xblast/files/patch-network.h
@@ -0,0 +1,11 @@
+--- network.h.orig 2006-02-10 15:07:42 UTC
++++ network.h
+@@ -105,7 +105,7 @@ typedef enum
+ #define TEAM_UNDEF 252
+
+ /* team color assignment */
+-const XBColor teamColors[NUM_XBTS];
++extern const XBColor teamColors[NUM_XBTS];
+
+ /* results of game config receive/create */
+ typedef enum