summaryrefslogtreecommitdiff
path: root/games/xbl/files
diff options
context:
space:
mode:
authorShaun Amott <shaun@FreeBSD.org>2006-06-27 14:53:49 +0000
committerShaun Amott <shaun@FreeBSD.org>2006-06-27 14:53:49 +0000
commit0bb8337607b589426e065a0ed7a1f124519d31c1 (patch)
treeacc37d567bb18be7afe08c0bf8c4c8f624db4bef /games/xbl/files
parent- Update to 0.12 (diff)
- Upgrade to 1.1.4
- Fix build on 4.x Approved by: ahze (mentor)
Notes
Notes: svn path=/head/; revision=166454
Diffstat (limited to 'games/xbl/files')
-rw-r--r--games/xbl/files/patch-bl.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/xbl/files/patch-bl.c b/games/xbl/files/patch-bl.c
new file mode 100644
index 000000000000..467ebd2cac42
--- /dev/null
+++ b/games/xbl/files/patch-bl.c
@@ -0,0 +1,20 @@
+--- bl.c.orig Sat Feb 4 20:13:23 2006
++++ bl.c Tue Jun 27 02:07:43 2006
+@@ -452,6 +452,8 @@
+ int i ;
+ XEvent event ;
+
++ double fps;
++
+ fprintf(stderr,"THIS TEST WILL TAKE SOME TIME\n") ;
+
+ blo->opt.wx = blo->opt.wy = blo->opt.wz = 6 ;
+@@ -485,7 +487,7 @@
+ }
+ gettimeofday(&currenttime, &tz) ;
+
+- double fps = (1000000. * i )
++ fps = (1000000. * i )
+ / ( (currenttime.tv_sec - starttime.tv_sec)*1000000
+ + currenttime.tv_usec - starttime.tv_usec ) ;
+ printf("%.2f frames/sec buffering=%d %s clearline=%d\n",