aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-11-02 02:12:38 +0800
committerkrion <krion@FreeBSD.org>2004-11-02 02:12:38 +0800
commit2b288bc214c4db6c1aa7c42f5504acd10818daae (patch)
treef047046ae5f8814966138e25f1b4b91cce4498fc
parentb0b6209af97f2a8746351f650b227f399fb8c8a2 (diff)
downloadfreebsd-ports-graphics-2b288bc214c4db6c1aa7c42f5504acd10818daae.tar.gz
freebsd-ports-graphics-2b288bc214c4db6c1aa7c42f5504acd10818daae.tar.zst
freebsd-ports-graphics-2b288bc214c4db6c1aa7c42f5504acd10818daae.zip
Fix build on 4.x
PR: ports/73348 Submitted by: Ports Fury No cookies for: osa
-rw-r--r--games/gtkballs/files/patch-src_game.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/gtkballs/files/patch-src_game.c b/games/gtkballs/files/patch-src_game.c
new file mode 100644
index 00000000000..fc5585c0b2d
--- /dev/null
+++ b/games/gtkballs/files/patch-src_game.c
@@ -0,0 +1,12 @@
+--- src/game.c.orig Wed Oct 6 20:06:46 2004
++++ src/game.c Wed Oct 27 02:10:30 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;