diff options
author | alepulver <alepulver@FreeBSD.org> | 2006-12-31 04:10:16 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2006-12-31 04:10:16 +0800 |
commit | 05179dfd79b984c78d87a255c6b95ec947d0e8e8 (patch) | |
tree | ac326fc3b3f9fc8d5a2899ade64fc78098b90aeb /games/quakeforge | |
parent | 5b17ec6dd4d85d22f586d245cc0862425095ad40 (diff) | |
download | freebsd-ports-gnome-05179dfd79b984c78d87a255c6b95ec947d0e8e8.tar.gz freebsd-ports-gnome-05179dfd79b984c78d87a255c6b95ec947d0e8e8.tar.zst freebsd-ports-gnome-05179dfd79b984c78d87a255c6b95ec947d0e8e8.zip |
- 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
Diffstat (limited to 'games/quakeforge')
-rw-r--r-- | games/quakeforge/files/patch-nq__source__sys_sdl.c | 20 | ||||
-rw-r--r-- | games/quakeforge/files/patch-qw__source__cl_sys_sdl.c | 20 | ||||
-rw-r--r-- | games/quakeforge/files/patch-qw__source__cl_sys_unix.c | 20 |
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[]) |