pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/gtkballs Fix some C99-isms to let this build und...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9f3bbf73bf13
branches: trunk
changeset: 484061:9f3bbf73bf13
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Tue Nov 23 21:15:40 2004 +0000
description:
Fix some C99-isms to let this build under 1.6.2.
diffstat:
games/gtkballs/distinfo | 3 ++-
games/gtkballs/patches/patch-aa | 14 ++++++++++++++
2 files changed, 16 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r cc6705b3c8a9 -r 9f3bbf73bf13 games/gtkballs/distinfo
--- a/games/gtkballs/distinfo Tue Nov 23 20:25:51 2004 +0000
+++ b/games/gtkballs/distinfo Tue Nov 23 21:15:40 2004 +0000
@@ -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 -r cc6705b3c8a9 -r 9f3bbf73bf13 games/gtkballs/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/gtkballs/patches/patch-aa Tue Nov 23 21:15:40 2004 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index