diff options
author | kristerw <kristerw> | 2004-11-23 21:15:40 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2004-11-23 21:15:40 +0000 |
commit | 5ffcec9c80553e9d6038c9e27a3fad1f253dccbe (patch) | |
tree | a71fc3ad85c520020923ddd4ddadef6dbc0b504a /games | |
parent | ce10868f063edef067999d1aa38ae10e5f0c738e (diff) | |
download | pkgsrc-5ffcec9c80553e9d6038c9e27a3fad1f253dccbe.tar.gz |
Fix some C99-isms to let this build under 1.6.2.
Diffstat (limited to 'games')
-rw-r--r-- | games/gtkballs/distinfo | 3 | ||||
-rw-r--r-- | games/gtkballs/patches/patch-aa | 14 |
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; |