diff options
author | abs <abs@pkgsrc.org> | 2001-10-18 19:12:39 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2001-10-18 19:12:39 +0000 |
commit | 7ae7d969c6e5ebe01c3870d53ede76800775fcff (patch) | |
tree | f3cdb1546b9f7f18895ded77e36e141a92843aa4 /games/xkobo | |
parent | 6a3d2fa2cc9c0a604439b1608f6e2b5e9522d2cc (diff) | |
download | pkgsrc-7ae7d969c6e5ebe01c3870d53ede76800775fcff.tar.gz |
Avoid some compiler warnings which seem to be fatal on my sparc64 box
Diffstat (limited to 'games/xkobo')
-rw-r--r-- | games/xkobo/distinfo | 6 | ||||
-rw-r--r-- | games/xkobo/patches/patch-aa | 6 | ||||
-rw-r--r-- | games/xkobo/patches/patch-ab | 22 | ||||
-rw-r--r-- | games/xkobo/patches/patch-ac | 19 |
4 files changed, 48 insertions, 5 deletions
diff --git a/games/xkobo/distinfo b/games/xkobo/distinfo index 5a2d95b6747..425453b0280 100644 --- a/games/xkobo/distinfo +++ b/games/xkobo/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 02:08:40 wiz Exp $ +$NetBSD: distinfo,v 1.3 2001/10/18 19:12:39 abs Exp $ SHA1 (xkobo-1.11.tar.gz) = 6ac1c0fe86b7fa524eb86f40b89e86ee6cbe3c5d Size (xkobo-1.11.tar.gz) = 71804 bytes -SHA1 (patch-aa) = 4bec21d419ec0d582d318fe342182d1296a05cff +SHA1 (patch-aa) = cef11d9aed457e7f378a995026be5a3c13e2cfce +SHA1 (patch-ab) = 917df924b7bba819ff90859b3cac302aec055289 +SHA1 (patch-ac) = 59794fcdf0b6af8076e0309fdfb0449b35441ea6 diff --git a/games/xkobo/patches/patch-aa b/games/xkobo/patches/patch-aa index aabed4a7026..134ac42406c 100644 --- a/games/xkobo/patches/patch-aa +++ b/games/xkobo/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.3 1998/08/07 10:40:44 agc Exp $ +$NetBSD: patch-aa,v 1.4 2001/10/18 19:12:40 abs Exp $ ---- Imakefile.orig Thu Jan 9 18:29:36 1997 -+++ Imakefile Sat Mar 28 11:11:19 1998 +--- Imakefile.orig Fri Jan 10 02:29:36 1997 ++++ Imakefile @@ -6,7 +6,7 @@ SHIPS = 5 diff --git a/games/xkobo/patches/patch-ab b/games/xkobo/patches/patch-ab new file mode 100644 index 00000000000..b4737ced1bf --- /dev/null +++ b/games/xkobo/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1 2001/10/18 19:12:40 abs Exp $ + +--- file.C.orig Thu Oct 18 19:49:52 2001 ++++ file.C +@@ -42,7 +42,7 @@ + ret = -2; + break; + } +- t += i; ++ t = (char *)t + i; + len -= i; + } while (len > 0); + for (;;){ +@@ -68,7 +68,7 @@ + ret = -2; + break; + } +- t += i; ++ t = (char *)t + i; + len -= i; + } while (len > 0); + for (;;){ diff --git a/games/xkobo/patches/patch-ac b/games/xkobo/patches/patch-ac new file mode 100644 index 00000000000..b8065be36cb --- /dev/null +++ b/games/xkobo/patches/patch-ac @@ -0,0 +1,19 @@ +$NetBSD: patch-ac,v 1.1 2001/10/18 19:12:40 abs Exp $ + +--- map.h.orig Thu Oct 18 19:49:21 2001 ++++ map.h +@@ -38,10 +38,10 @@ + #define HIT_MASK (CORE | U_MASK | R_MASK | D_MASK | L_MASK) + + class _map{ +- const int sx_log2 = MAP_SIZEX_LOG2; +- const int sy_log2 = MAP_SIZEY_LOG2; +- const int sx = 1 << sx_log2; +- const int sy = 1 << sy_log2; ++ static const int sx_log2 = MAP_SIZEX_LOG2; ++ static const int sy_log2 = MAP_SIZEY_LOG2; ++ static const int sx = 1 << sx_log2; ++ static const int sy = 1 << sy_log2; + int sitex[SITE_MAX]; + int sitey[SITE_MAX]; + int site_max; |