From aa3e03a8dd18093904289ee2ad2e266160dcc655 Mon Sep 17 00:00:00 2001 From: Alejandro Pulver Date: Wed, 10 Jan 2007 22:22:30 +0000 Subject: - Fix building with GCC 4.x. Reported by: pointyhat --- games/quake2-xatrix/files/patch-g_items.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 games/quake2-xatrix/files/patch-g_items.c (limited to 'games/quake2-xatrix') diff --git a/games/quake2-xatrix/files/patch-g_items.c b/games/quake2-xatrix/files/patch-g_items.c new file mode 100644 index 000000000000..bea176834daf --- /dev/null +++ b/games/quake2-xatrix/files/patch-g_items.c @@ -0,0 +1,15 @@ +--- ./g_items.c.orig Mon Nov 30 17:55:28 1998 ++++ ./g_items.c Wed Jan 10 19:17:48 2007 +@@ -26,9 +26,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; + -- cgit v1.2.3