freebsd-ports/x11/qrash/files/patch-ai
Steve Price a08d0fc53f Adding qrash version 1.0
An animated musical demo for X11.

PR:		14554
Submitted by:	Trevor Johnson <trevor@jpj.net>
1999-12-27 02:24:30 +00:00

20 lines
544 B
Text

--- 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;