aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/quakeforge/files/patch-nq__source__sys_unix.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/quakeforge/files/patch-nq__source__sys_unix.c b/games/quakeforge/files/patch-nq__source__sys_unix.c
new file mode 100644
index 000000000000..7bcb34b9bec7
--- /dev/null
+++ b/games/quakeforge/files/patch-nq__source__sys_unix.c
@@ -0,0 +1,12 @@
+--- nq/source/sys_unix.c.orig
++++ nq/source/sys_unix.c
+@@ -69,6 +69,9 @@
+ fcntl (0, F_SETFL, fcntl (0, F_GETFL, 0) & ~O_NONBLOCK);
+ }
+
++extern void Key_Progs_Init (progs_t *pr);
++void (*x)() = Key_Progs_Init;
++
+ int
+ main (int c, const char *v[])
+ {