summaryrefslogtreecommitdiff
path: root/games/xkobo/patches
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-10-18 19:12:39 +0000
committerabs <abs@pkgsrc.org>2001-10-18 19:12:39 +0000
commit7ae7d969c6e5ebe01c3870d53ede76800775fcff (patch)
treef3cdb1546b9f7f18895ded77e36e141a92843aa4 /games/xkobo/patches
parent6a3d2fa2cc9c0a604439b1608f6e2b5e9522d2cc (diff)
downloadpkgsrc-7ae7d969c6e5ebe01c3870d53ede76800775fcff.tar.gz
Avoid some compiler warnings which seem to be fatal on my sparc64 box
Diffstat (limited to 'games/xkobo/patches')
-rw-r--r--games/xkobo/patches/patch-aa6
-rw-r--r--games/xkobo/patches/patch-ab22
-rw-r--r--games/xkobo/patches/patch-ac19
3 files changed, 44 insertions, 3 deletions
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;