summaryrefslogtreecommitdiff
path: root/games/quakeforge
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-12-30 20:10:16 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-12-30 20:10:16 +0000
commit07d8ff80724590d50f73df9a80de33f54b78c2d2 (patch)
tree0c419c9d44e87c2c8f571bb9cb8aac305b23f248 /games/quakeforge
parentUpdate to 20060725 (diff)
- Fix menu loading (console_client.so) in SDL clients: apply fix from
ports/89065 (which was just for the OpenGL and X11 clients) to manually export the Key_Progs_Init symbol. Reported by: scalopus@gmail.com
Notes
Notes: svn path=/head/; revision=181089
Diffstat (limited to 'games/quakeforge')
-rw-r--r--games/quakeforge/files/patch-nq__source__sys_sdl.c20
-rw-r--r--games/quakeforge/files/patch-qw__source__cl_sys_sdl.c20
-rw-r--r--games/quakeforge/files/patch-qw__source__cl_sys_unix.c20
3 files changed, 60 insertions, 0 deletions
diff --git a/games/quakeforge/files/patch-nq__source__sys_sdl.c b/games/quakeforge/files/patch-nq__source__sys_sdl.c
new file mode 100644
index 000000000000..bf86d78d33e8
--- /dev/null
+++ b/games/quakeforge/files/patch-nq__source__sys_sdl.c
@@ -0,0 +1,20 @@
+--- nq/source/sys_sdl.c.orig Tue Jan 20 00:47:26 2004
++++ nq/source/sys_sdl.c Sat Dec 30 16:44:41 2006
+@@ -63,6 +63,7 @@
+ #include "QF/console.h"
+ #include "QF/qargs.h"
+ #include "QF/sys.h"
++#include "QF/progs.h"
+
+ #include "client.h"
+ #include "compat.h"
+@@ -106,6 +107,9 @@
+ fcntl (0, F_SETFL, fcntl (0, F_GETFL, 0) & ~O_NONBLOCK);
+ #endif
+ }
++
++extern void Key_Progs_Init (progs_t *pr);
++void (*x)() = Key_Progs_Init;
+
+ #ifndef SDL_main
+ # define SDL_main main
diff --git a/games/quakeforge/files/patch-qw__source__cl_sys_sdl.c b/games/quakeforge/files/patch-qw__source__cl_sys_sdl.c
new file mode 100644
index 000000000000..3ddd964ea888
--- /dev/null
+++ b/games/quakeforge/files/patch-qw__source__cl_sys_sdl.c
@@ -0,0 +1,20 @@
+--- qw/source/cl_sys_sdl.c.orig Tue Jan 20 00:47:27 2004
++++ qw/source/cl_sys_sdl.c Sat Dec 30 16:44:37 2006
+@@ -63,6 +63,7 @@
+ #include "QF/console.h"
+ #include "QF/qargs.h"
+ #include "QF/sys.h"
++#include "QF/progs.h"
+
+ #include "client.h"
+ #include "compat.h"
+@@ -107,6 +108,9 @@
+ fcntl (0, F_SETFL, fcntl (0, F_GETFL, 0) & ~O_NONBLOCK);
+ #endif
+ }
++
++extern void Key_Progs_Init (progs_t *pr);
++void (*x)() = Key_Progs_Init;
+
+ #ifndef SDL_main
+ # define SDL_main main
diff --git a/games/quakeforge/files/patch-qw__source__cl_sys_unix.c b/games/quakeforge/files/patch-qw__source__cl_sys_unix.c
new file mode 100644
index 000000000000..77019e3eb5da
--- /dev/null
+++ b/games/quakeforge/files/patch-qw__source__cl_sys_unix.c
@@ -0,0 +1,20 @@
+--- qw/source/cl_sys_unix.c.orig Tue Feb 11 19:48:57 2003
++++ qw/source/cl_sys_unix.c Sat Dec 30 16:44:33 2006
+@@ -56,6 +56,7 @@
+ #include "QF/console.h"
+ #include "QF/qargs.h"
+ #include "QF/sys.h"
++#include "QF/progs.h"
+
+ #include "host.h"
+ #include "netchan.h"
+@@ -72,6 +73,9 @@
+ }
+
+ int skipframes;
++
++extern void Key_Progs_Init (progs_t *pr);
++void (*x)() = Key_Progs_Init;
+
+ int
+ main (int c, const char *v[])