diff options
author | joerg <joerg@pkgsrc.org> | 2013-09-10 14:19:06 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-09-10 14:19:06 +0000 |
commit | b08f7d173111decf8e89164c0eb49fe836442256 (patch) | |
tree | 19b270846db267dc2d76b315aa6f3e62e04763ab /games/xroach | |
parent | 92dc86a9137a508c91ea3ce50da54d55446997b5 (diff) | |
download | pkgsrc-b08f7d173111decf8e89164c0eb49fe836442256.tar.gz |
Fix pointer sign cast.
Diffstat (limited to 'games/xroach')
-rw-r--r-- | games/xroach/distinfo | 4 | ||||
-rw-r--r-- | games/xroach/patches/patch-ab | 19 |
2 files changed, 16 insertions, 7 deletions
diff --git a/games/xroach/distinfo b/games/xroach/distinfo index db3a1613b38..92c1ea781ae 100644 --- a/games/xroach/distinfo +++ b/games/xroach/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.5 2009/02/07 17:31:29 joerg Exp $ +$NetBSD: distinfo,v 1.6 2013/09/10 14:19:06 joerg Exp $ SHA1 (xroach-4.4/xroach.tar) = 63b8f70508bf767ddfa971aa1f75c9efa52e52f3 RMD160 (xroach-4.4/xroach.tar) = d479f741fe5b483375290d43a870d06dcf0e200b Size (xroach-4.4/xroach.tar) = 86016 bytes SHA1 (patch-aa) = a6bacf1dfa69ec7633b05bb829ffb14a182f6382 -SHA1 (patch-ab) = 2ea9f1bbae7214f7706901f85af73652c6d21331 +SHA1 (patch-ab) = 72fbcc22c5debedd8f3a3cd2bd88e2587430cb23 diff --git a/games/xroach/patches/patch-ab b/games/xroach/patches/patch-ab index b8386ffbcd7..ef9a5744110 100644 --- a/games/xroach/patches/patch-ab +++ b/games/xroach/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.2 2001/12/07 09:22:13 wiz Exp $ +$NetBSD: patch-ab,v 1.3 2013/09/10 14:19:06 joerg Exp $ ---- xroach.c.orig Fri Jun 4 21:47:09 1993 +--- xroach.c.orig 1993-06-04 19:47:09.000000000 +0000 +++ xroach.c -@@ -77,7 +77,7 @@ +@@ -77,7 +77,7 @@ int CalcRootVisible(); int MarkHiddenRoaches(); Pixel AllocNamedColor(); @@ -11,7 +11,7 @@ $NetBSD: patch-ab,v 1.2 2001/12/07 09:22:13 wiz Exp $ main(ac, av) int ac; char *av[]; -@@ -115,7 +115,7 @@ +@@ -115,7 +115,7 @@ char *av[]; } } @@ -20,7 +20,7 @@ $NetBSD: patch-ab,v 1.2 2001/12/07 09:22:13 wiz Exp $ /* Catch some signals so we can erase any visible roaches. -@@ -212,6 +212,8 @@ +@@ -212,6 +212,8 @@ char *av[]; CoverRoot(); XCloseDisplay(display); @@ -29,3 +29,12 @@ $NetBSD: patch-ab,v 1.2 2001/12/07 09:22:13 wiz Exp $ } #define USEPRT(msg) fprintf(stderr, msg) +@@ -465,7 +467,7 @@ CalcRootVisible() + Region covered; + Region visible; + Window *children; +- int nChildren; ++ unsigned int nChildren; + Window dummy; + XWindowAttributes wa; + int wx; |