summaryrefslogtreecommitdiffstats
path: root/games/tuxkart/files
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-07-06 01:40:39 +0000
committerpat <pat@FreeBSD.org>2002-07-06 01:40:39 +0000
commitbe619a8f29d2928f893c0afddd5ad952f46b4fcb (patch)
treec15a3838b845eb752b270a747fbcd7b60237b11e /games/tuxkart/files
parent09f4b81bfd1ebff849af7688f00ad8c62ace7496 (diff)
downloadFreeBSD-ports-be619a8f29d2928f893c0afddd5ad952f46b4fcb.zip
FreeBSD-ports-be619a8f29d2928f893c0afddd5ad952f46b4fcb.tar.gz
Update to 0.1.0
PR: 40242 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'games/tuxkart/files')
-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 0000000..343e120
--- /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 ;
+ }
+
+
OpenPOWER on IntegriCloud