summaryrefslogtreecommitdiff
path: root/x11/qrash/files/patch-ai
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-27 02:24:30 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-27 02:24:30 +0000
commita08d0fc53fa06d278c80df68a9a40b88e357591b (patch)
tree85772236e476a67404beaab94dc888d9a81e4bcc /x11/qrash/files/patch-ai
parentAdding p5-Apache-DBI version 0.87. (diff)
Adding qrash version 1.0
An animated musical demo for X11. PR: 14554 Submitted by: Trevor Johnson <trevor@jpj.net>
Notes
Notes: svn path=/head/; revision=24143
Diffstat (limited to 'x11/qrash/files/patch-ai')
-rw-r--r--x11/qrash/files/patch-ai20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/qrash/files/patch-ai b/x11/qrash/files/patch-ai
new file mode 100644
index 000000000000..809ba495ae6d
--- /dev/null
+++ b/x11/qrash/files/patch-ai
@@ -0,0 +1,20 @@
+--- video.cc.orig Sun Dec 26 17:14:12 1999
++++ video.cc Sun Dec 26 17:21:33 1999
+@@ -99,7 +99,7 @@
+ modify [eax ebx ecx edx esi edi];
+
+ #else
+-#ifdef i386
++#if defined(i386) && !defined(__FreeBSD__)
+
+ inline void
+ comb1( uchar* c1, uchar* b1, uchar* c, uchar* b, int n )
+@@ -314,7 +314,7 @@
+ if( vidStartTime == -1 ) {
+ vidStartTime = sysTimer();
+ }
+- static time = 0;
++ static int time = 0;
+ if( sysDebug && vidFrameCount%3 ) {
+ int frame_time = (sysTimer()-time);
+ int fps = frame_time ? 3*sysTimerRes / frame_time : 0;