From 0bb8337607b589426e065a0ed7a1f124519d31c1 Mon Sep 17 00:00:00 2001 From: Shaun Amott Date: Tue, 27 Jun 2006 14:53:49 +0000 Subject: - Upgrade to 1.1.4 - Fix build on 4.x Approved by: ahze (mentor) --- games/xbl/files/patch-bl.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 games/xbl/files/patch-bl.c (limited to 'games/xbl/files') 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(¤ttime, &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", -- cgit v1.2.3