diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-12-30 20:10:16 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-12-30 20:10:16 +0000 |
commit | 07d8ff80724590d50f73df9a80de33f54b78c2d2 (patch) | |
tree | 0c419c9d44e87c2c8f571bb9cb8aac305b23f248 /games/quakeforge/files | |
parent | dc9668fffec3fea93eb7fa3ca29a8e4a2ffda90d (diff) | |
download | ports-07d8ff80724590d50f73df9a80de33f54b78c2d2.tar.gz ports-07d8ff80724590d50f73df9a80de33f54b78c2d2.zip |
Notes
Diffstat (limited to 'games/quakeforge/files')
-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[]) |