summaryrefslogtreecommitdiffstats
path: root/games/nehquake/files/patch-src__gl_vidlinuxglx.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/nehquake/files/patch-src__gl_vidlinuxglx.c')
-rw-r--r--games/nehquake/files/patch-src__gl_vidlinuxglx.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/nehquake/files/patch-src__gl_vidlinuxglx.c b/games/nehquake/files/patch-src__gl_vidlinuxglx.c
new file mode 100644
index 0000000..6ca2fba
--- /dev/null
+++ b/games/nehquake/files/patch-src__gl_vidlinuxglx.c
@@ -0,0 +1,12 @@
+--- ./src/gl_vidlinuxglx.c.orig Tue Sep 27 19:53:14 2005
++++ ./src/gl_vidlinuxglx.c Tue May 16 17:36:22 2006
+@@ -20,7 +20,9 @@
+ #include <termios.h>
+ #include <sys/ioctl.h>
+ #include <sys/stat.h>
++#ifdef __linux__
+ #include <sys/vt.h>
++#endif
+ #include <stdarg.h>
+ #include <stdio.h>
+ #include <signal.h>
OpenPOWER on IntegriCloud