summaryrefslogtreecommitdiff
path: root/games/quakeforge/patches/patch-at
blob: ea476c03b6fcfd5ad267de866c26eec5add125d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-at,v 1.1 2008/01/23 04:59:37 tnn Exp $

--- qw/source/cl_sys_sdl.c.orig	2004-01-20 03:47:27.000000000 +0000
+++ qw/source/cl_sys_sdl.c
@@ -63,6 +63,7 @@ static __attribute__ ((unused)) const ch
 #include "QF/console.h"
 #include "QF/qargs.h"
 #include "QF/sys.h"
+#include "QF/progs.h"
 
 #include "client.h"
 #include "compat.h"
@@ -108,6 +109,9 @@ shutdown (void)
 #endif
 }
 
+extern void Key_Progs_Init (progs_t *pr);
+void (*x)() = Key_Progs_Init;
+
 #ifndef SDL_main
 # define SDL_main main
 #endif