diff options
author | wiz <wiz@pkgsrc.org> | 2001-12-07 09:22:13 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-12-07 09:22:13 +0000 |
commit | d6668557ffacb9e1fe10441168749a7c11cc3c41 (patch) | |
tree | f64af80116643b4570d3f0c307b9588d42b8d2a3 /games/xroach | |
parent | eb8f266f516987d6ebc935cc8c96ae6c8b12e167 (diff) | |
download | pkgsrc-d6668557ffacb9e1fe10441168749a7c11cc3c41.tar.gz |
Fix compilation with gcc 2.95.3. Problem report and patch by Robert Elz
from pkg/14860.
Diffstat (limited to 'games/xroach')
-rw-r--r-- | games/xroach/distinfo | 4 | ||||
-rw-r--r-- | games/xroach/patches/patch-ab | 24 |
2 files changed, 23 insertions, 5 deletions
diff --git a/games/xroach/distinfo b/games/xroach/distinfo index ca20ad57684..1de30025e46 100644 --- a/games/xroach/distinfo +++ b/games/xroach/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 02:08:42 wiz Exp $ +$NetBSD: distinfo,v 1.3 2001/12/07 09:22:13 wiz Exp $ SHA1 (xroach-4.4/xroach.tar) = 63b8f70508bf767ddfa971aa1f75c9efa52e52f3 Size (xroach-4.4/xroach.tar) = 86016 bytes SHA1 (patch-aa) = bb54bd5df5a0886e6a7b5e585449b888e8f95bfd -SHA1 (patch-ab) = 64050545c2e27c7b9629cd2c55ede1715a2aefec +SHA1 (patch-ab) = 2ea9f1bbae7214f7706901f85af73652c6d21331 diff --git a/games/xroach/patches/patch-ab b/games/xroach/patches/patch-ab index f9b9832e46c..b8386ffbcd7 100644 --- a/games/xroach/patches/patch-ab +++ b/games/xroach/patches/patch-ab @@ -1,7 +1,16 @@ -$NetBSD: patch-ab,v 1.1 2000/10/06 10:30:13 pooka Exp $ +$NetBSD: patch-ab,v 1.2 2001/12/07 09:22:13 wiz Exp $ ---- xroach.c.orig Fri Jun 4 22:47:09 1993 -+++ xroach.c Fri Oct 6 13:27:47 2000 +--- xroach.c.orig Fri Jun 4 21:47:09 1993 ++++ xroach.c +@@ -77,7 +77,7 @@ + int MarkHiddenRoaches(); + Pixel AllocNamedColor(); + +-void ++int + main(ac, av) + int ac; + char *av[]; @@ -115,7 +115,7 @@ } } @@ -11,3 +20,12 @@ $NetBSD: patch-ab,v 1.1 2000/10/06 10:30:13 pooka Exp $ /* Catch some signals so we can erase any visible roaches. +@@ -212,6 +212,8 @@ + CoverRoot(); + + XCloseDisplay(display); ++ ++ exit(0); + } + + #define USEPRT(msg) fprintf(stderr, msg) |