From 5dfaba8ea1e84f0b981ac1ea14dbf2ebcf6c4cff Mon Sep 17 00:00:00 2001 From: Max Khon Date: Wed, 18 Jun 2003 09:21:21 +0000 Subject: 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 --- games/quake2lnx/files/patch-src::linux::rw_sdl.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 games/quake2lnx/files/patch-src::linux::rw_sdl.c (limited to 'games/quake2lnx/files/patch-src::linux::rw_sdl.c') 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++) { -- cgit v1.2.3