summaryrefslogtreecommitdiff
path: root/games/quake2max/files/patch-client__menu.c
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-03-22 03:43:37 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-03-22 03:43:37 +0000
commitce11335e8643485a59e35fa5c705b1f50ec80815 (patch)
treeb1a2ce70a9df281b91241c81cecc535061c353b5 /games/quake2max/files/patch-client__menu.c
parentupgrade to 1.4.99.3 (diff)
- Fix building with GCC 4.x.
Reported by: pointyhat
Diffstat (limited to 'games/quake2max/files/patch-client__menu.c')
-rw-r--r--games/quake2max/files/patch-client__menu.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/quake2max/files/patch-client__menu.c b/games/quake2max/files/patch-client__menu.c
new file mode 100644
index 000000000000..80ba71b96d75
--- /dev/null
+++ b/games/quake2max/files/patch-client__menu.c
@@ -0,0 +1,20 @@
+--- client/menu.c.orig Tue Dec 27 10:06:52 2005
++++ client/menu.c Thu Mar 22 00:36:51 2007
+@@ -898,7 +898,7 @@
+
+ void Multiplayer_MenuInit( void )
+ {
+- static qboolean PlayerConfig_ScanDirectories(void);
++ qboolean PlayerConfig_ScanDirectories(void);
+ if (!server_menu)
+ server_menu = Cvar_Get ("server_menu", "1", 0);
+
+@@ -4784,7 +4784,7 @@
+ return false;
+ }
+
+-static qboolean PlayerConfig_ScanDirectories( void )
++qboolean PlayerConfig_ScanDirectories( void )
+ {
+ char findname[1024];
+ char scratch[1024];