summaryrefslogtreecommitdiff
path: root/games/quake2lnx/files/patch-src::linux::rw_sdl.c
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-06-18 09:21:21 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-06-18 09:21:21 +0000
commit5dfaba8ea1e84f0b981ac1ea14dbf2ebcf6c4cff (patch)
tree94263949a16f153327d82eb0e15dc57c28ad5254 /games/quake2lnx/files/patch-src::linux::rw_sdl.c
parentDon't trust IP comes from fake HELO (diff)
New port: games/quake2lnx
Quake2-LNX project aims to further develop and bug fix original Quake II code released by id Software in 1998, as well as support multiple architectures. It also includes additional rendering drivers, eyecandy stuff from Quake2Max project, and experimental IPv6 support. Submitted by: Alexey Dokuchaev <danfe (at) regency.nsu.ru>
Notes
Notes: svn path=/head/; revision=83249
Diffstat (limited to 'games/quake2lnx/files/patch-src::linux::rw_sdl.c')
-rw-r--r--games/quake2lnx/files/patch-src::linux::rw_sdl.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/quake2lnx/files/patch-src::linux::rw_sdl.c b/games/quake2lnx/files/patch-src::linux::rw_sdl.c
new file mode 100644
index 000000000000..7b3989bd2da8
--- /dev/null
+++ b/games/quake2lnx/files/patch-src::linux::rw_sdl.c
@@ -0,0 +1,14 @@
+--- src/linux/rw_sdl.c.orig Wed Jun 18 08:01:40 2003
++++ src/linux/rw_sdl.c Wed Jun 18 08:02:13 2003
+@@ -190,7 +190,10 @@
+ */
+ void RW_IN_Commands (void)
+ {
+- int i, key_index;
++ int i;
++#ifdef Joystick
++ int key_index;
++#endif
+
+ if (mouse_avail) {
+ for (i=0 ; i<3 ; i++) {