summaryrefslogtreecommitdiff
path: root/games/tuxkart/files/patch-src-gfx.cxx
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2013-07-11 15:37:45 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2013-07-11 15:37:45 +0000
commit458f9519aa8826c222eec5caa0b84bef7107550e (patch)
tree737d182a4d4b3ac461e73bc7e4a86213f9bb960b /games/tuxkart/files/patch-src-gfx.cxx
parentFrom the (new) maintainer: (diff)
Maintainer requests patch rename to conform with patch naming conventions.
PR: 180016
Diffstat (limited to 'games/tuxkart/files/patch-src-gfx.cxx')
-rw-r--r--games/tuxkart/files/patch-src-gfx.cxx31
1 files changed, 31 insertions, 0 deletions
diff --git a/games/tuxkart/files/patch-src-gfx.cxx b/games/tuxkart/files/patch-src-gfx.cxx
new file mode 100644
index 000000000000..343e12084104
--- /dev/null
+++ b/games/tuxkart/files/patch-src-gfx.cxx
@@ -0,0 +1,31 @@
+--- src/gfx.cxx.orig Sat Nov 10 08:32:52 2001
++++ src/gfx.cxx Wed Jul 3 04:03:27 2002
+@@ -4,9 +4,11 @@
+ #ifndef WIN32
+ #include <unistd.h>
+ #include <string.h>
++#if 0
+ #include <sys/io.h>
+ #include <sys/perm.h>
+ #endif
++#endif
+
+ static unsigned int lastGLUTKeystroke = 0 ;
+
+@@ -185,6 +187,7 @@
+ glEnd () ;
+ glFlush () ;
+
++#if 0
+ static int firsttime = TRUE ;
+
+ if ( firsttime )
+@@ -219,6 +222,8 @@
+ outb ( (stereo==-1) ? ~3 : ~2, LPBASE+2 ) ;
+ stereo = -stereo ;
+ }
++#endif
++ stereo = 0 ;
+ }
+
+