aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-12-18 04:25:38 +0800
committeralepulver <alepulver@FreeBSD.org>2006-12-18 04:25:38 +0800
commit70ea8d1f9c10a6c8d43b749a9a1109cac15d1ee0 (patch)
tree6e5ae127fd90af159a21e9ee86d7258ec40708a7
parentb9d5fa39bc601eeeccbe42c7182157fa625fda27 (diff)
downloadfreebsd-ports-gnome-70ea8d1f9c10a6c8d43b749a9a1109cac15d1ee0.tar.gz
freebsd-ports-gnome-70ea8d1f9c10a6c8d43b749a9a1109cac15d1ee0.tar.zst
freebsd-ports-gnome-70ea8d1f9c10a6c8d43b749a9a1109cac15d1ee0.zip
- Fix building with GCC 4.x.
Reported by: pointyhat
-rw-r--r--games/quake2-data/files/patch-g_local.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/quake2-data/files/patch-g_local.h b/games/quake2-data/files/patch-g_local.h
new file mode 100644
index 000000000000..640d5229d5dc
--- /dev/null
+++ b/games/quake2-data/files/patch-g_local.h
@@ -0,0 +1,14 @@
+--- ./g_local.h.orig Mon Nov 30 17:41:21 1998
++++ ./g_local.h Sun Dec 17 17:16:36 2006
+@@ -439,11 +439,6 @@
+ extern int sm_meat_index;
+ extern int snd_fry;
+
+-extern int jacket_armor_index;
+-extern int combat_armor_index;
+-extern int body_armor_index;
+-
+-
+ // means of death
+ #define MOD_UNKNOWN 0
+ #define MOD_BLASTER 1