1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/games/sdlquake2/files/patch-sv_user.c
Alejandro Pulver 0eaf5b215b - Add games/sdlquake2.
Basically this is a combination of R1Q2 and R1GL with SDL code from
Quake2Forge. Meaning it's R1Q2 protocol 35 compatible Linux client. Tested on
Debian Sarge. Both client and dedicated server.

WWW: http://koti.mbnet.fi/~turol/sdlquake2/
2006-05-05 17:42:08 +00:00

12 lines
315 B
C

--- ./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);