aboutsummaryrefslogtreecommitdiff
path: root/games/quake2-rogue
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-01-10 22:22:30 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-01-10 22:22:30 +0000
commitaa3e03a8dd18093904289ee2ad2e266160dcc655 (patch)
treee43ded7937d52baae622d1fd2407fad4655cca8a /games/quake2-rogue
parentc43b31a89f1357ba1756ac1926a328f17406b7b1 (diff)
downloadports-aa3e03a8dd18093904289ee2ad2e266160dcc655.tar.gz
ports-aa3e03a8dd18093904289ee2ad2e266160dcc655.zip
- Fix building with GCC 4.x.
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=182028
Diffstat (limited to 'games/quake2-rogue')
-rw-r--r--games/quake2-rogue/files/patch-g_items.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/quake2-rogue/files/patch-g_items.c b/games/quake2-rogue/files/patch-g_items.c
new file mode 100644
index 000000000000..c254445db789
--- /dev/null
+++ b/games/quake2-rogue/files/patch-g_items.c
@@ -0,0 +1,15 @@
+--- g_items.c.orig Mon Nov 30 17:53:36 1998
++++ g_items.c Wed Jan 10 19:14:55 2007
+@@ -34,9 +34,9 @@
+ gitem_armor_t combatarmor_info = { 50, 100, .60, .30, ARMOR_COMBAT};
+ gitem_armor_t bodyarmor_info = {100, 200, .80, .60, ARMOR_BODY};
+
+-static int jacket_armor_index;
+-static int combat_armor_index;
+-static int body_armor_index;
++int jacket_armor_index;
++int combat_armor_index;
++int body_armor_index;
+ static int power_screen_index;
+ static int power_shield_index;
+