summaryrefslogtreecommitdiff
path: root/games/gtkballs
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-11-23 21:15:40 +0000
committerkristerw <kristerw@pkgsrc.org>2004-11-23 21:15:40 +0000
commit31c0eb7f9a3ab444130c0dc303e377c2e9350960 (patch)
treea71fc3ad85c520020923ddd4ddadef6dbc0b504a /games/gtkballs
parent25b36273c1b1017d790d28cee4e264618ec509af (diff)
downloadpkgsrc-31c0eb7f9a3ab444130c0dc303e377c2e9350960.tar.gz
Fix some C99-isms to let this build under 1.6.2.
Diffstat (limited to 'games/gtkballs')
-rw-r--r--games/gtkballs/distinfo3
-rw-r--r--games/gtkballs/patches/patch-aa14
2 files changed, 16 insertions, 1 deletions
diff --git a/games/gtkballs/distinfo b/games/gtkballs/distinfo
index ffe9d9c7774..b3993f9dc16 100644
--- a/games/gtkballs/distinfo
+++ b/games/gtkballs/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.7 2004/11/17 15:47:03 adam Exp $
+$NetBSD: distinfo,v 1.8 2004/11/23 21:15:40 kristerw Exp $
SHA1 (gtkballs-3.1.5.tar.gz) = 778955036dc067d5b997ef351399d6ed050adc15
Size (gtkballs-3.1.5.tar.gz) = 1176977 bytes
+SHA1 (patch-aa) = 559aeb861f4bcc0a5db0fea970e7811d57359b29
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;