aboutsummaryrefslogtreecommitdiff
path: root/games/sdlquake2/files/patch-sv_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/sdlquake2/files/patch-sv_user.c')
-rw-r--r--games/sdlquake2/files/patch-sv_user.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/sdlquake2/files/patch-sv_user.c b/games/sdlquake2/files/patch-sv_user.c
new file mode 100644
index 000000000000..2d71d225b4ae
--- /dev/null
+++ b/games/sdlquake2/files/patch-sv_user.c
@@ -0,0 +1,11 @@
+--- ./sv_user.c.orig Thu May 19 17:56:13 2005
++++ ./sv_user.c Sun Feb 26 11:23:56 2006
+@@ -1183,7 +1183,7 @@
+ sv_client->downloadsize = FS_LoadFile (name, NULL);
+
+ //adjust case and re-try
+-#ifdef LINUX
++#if defined(__linux__) || defined(__FreeBSD__)
+ if (sv_client->downloadsize == -1)
+ {
+ Q_strlwr (name);