summaryrefslogtreecommitdiff
path: root/games/gtkballs/patches
diff options
context:
space:
mode:
authorkristerw <kristerw>2004-11-23 21:15:40 +0000
committerkristerw <kristerw>2004-11-23 21:15:40 +0000
commit5ffcec9c80553e9d6038c9e27a3fad1f253dccbe (patch)
treea71fc3ad85c520020923ddd4ddadef6dbc0b504a /games/gtkballs/patches
parentce10868f063edef067999d1aa38ae10e5f0c738e (diff)
downloadpkgsrc-5ffcec9c80553e9d6038c9e27a3fad1f253dccbe.tar.gz
Fix some C99-isms to let this build under 1.6.2.
Diffstat (limited to 'games/gtkballs/patches')
-rw-r--r--games/gtkballs/patches/patch-aa14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/gtkballs/patches/patch-aa b/games/gtkballs/patches/patch-aa
new file mode 100644
index 00000000000..19d5a89b3d1
--- /dev/null
+++ b/games/gtkballs/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.3 2004/11/23 21:15:40 kristerw Exp $
+
+--- src/game.c.orig Tue Nov 23 22:07:10 2004
++++ src/game.c Tue Nov 23 22:07:49 2004
+@@ -495,8 +495,8 @@
+ lock_actions(1);
+ draw_board();
+ for(animtime = 0, i = 0; i < animcadres;) {
+- gettimeofday(&tvs, NULL);
+ gint isav = i;
++ gettimeofday(&tvs, NULL);
+ for(; animtime == animarray[i].time && i < animcadres; i++) {
+ draw_ball(animarray[i].color, animarray[i].x, animarray[i].y, 0, animarray[i].phase + 1);
+ _board_destroys[animarray[i].y * rules_get_width() + animarray[i].x] = animarray[i].phase + 1;