summaryrefslogtreecommitdiff
path: root/games/craft
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-08-11 21:54:21 +0000
committertron <tron@pkgsrc.org>1999-08-11 21:54:21 +0000
commit51745079b0dd89603ea7abc5b50baae314d5c728 (patch)
treea0fe1a08f430c6e25fc149256efa1fb81e58727a /games/craft
parent382df849540fbb99d061104fea9fe2ff8bb2863d (diff)
downloadpkgsrc-51745079b0dd89603ea7abc5b50baae314d5c728.tar.gz
Fix problems caused by author's assumption that 'char' is signed.
Patches supplied by Reinoud Zandijk in PR pkg/8143.
Diffstat (limited to 'games/craft')
-rw-r--r--games/craft/files/patch-sum5
-rw-r--r--games/craft/patches/patch-ag15
-rw-r--r--games/craft/patches/patch-ah19
3 files changed, 34 insertions, 5 deletions
diff --git a/games/craft/files/patch-sum b/games/craft/files/patch-sum
index f93c23871da..4ad30159d9a 100644
--- a/games/craft/files/patch-sum
+++ b/games/craft/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.4 1999/07/24 22:57:52 dante Exp $
+$NetBSD: patch-sum,v 1.5 1999/08/11 21:54:21 tron Exp $
MD5 (patch-aa) = 73d6c9a25630e868b6d37595d617a014
MD5 (patch-ab) = 7a9322f3588143c146bc10c865bd1222
@@ -6,4 +6,5 @@ MD5 (patch-ac) = ba6da2b86c557d5eeffce01ce2557a87
MD5 (patch-ad) = 8056676e41db031a4e65c8ee44f27ad6
MD5 (patch-ae) = 9083a84c45bd82705852511ae3e1668d
MD5 (patch-af) = e5af45e7549343df98a0882cd62d9a8b
-MD5 (patch-ag) = 21ed995923cd85e0750adfcd32706436
+MD5 (patch-ag) = fc1a385b8e845d5603545404275e7550
+MD5 (patch-ah) = 71af36bf7653384f1c61fef9d250bae3
diff --git a/games/craft/patches/patch-ag b/games/craft/patches/patch-ag
index c59405122c5..500b8e18826 100644
--- a/games/craft/patches/patch-ag
+++ b/games/craft/patches/patch-ag
@@ -1,7 +1,7 @@
-$NetBSD: patch-ag,v 1.3 1999/07/24 22:52:44 dante Exp $
+$NetBSD: patch-ag,v 1.4 1999/08/11 21:54:22 tron Exp $
---- hcc/hcc.cc.orig Sun Jul 25 00:11:11 1999
-+++ hcc/hcc.cc Sun Jul 25 00:12:37 1999
+--- hcc/hcc.cc.orig Fri Feb 21 12:50:16 1997
++++ hcc/hcc.cc Wed Aug 4 15:37:39 1999
@@ -1,6 +1,5 @@
-#include "bool.h"
#include "stdio.h"
@@ -10,3 +10,12 @@ $NetBSD: patch-ag,v 1.3 1999/07/24 22:52:44 dante Exp $
#include "string.h"
#include "ctype.h"
+@@ -203,7 +202,7 @@
+ char last_last_sym;
+ int last_ref_sym_line;
+ int last_ref_sym_no;
+- char sym;
++ signed char sym;
+ int nested_brackets;
+ bool inside_refinement;
+ bool inside_string;
diff --git a/games/craft/patches/patch-ah b/games/craft/patches/patch-ah
new file mode 100644
index 00000000000..1f63987f1e9
--- /dev/null
+++ b/games/craft/patches/patch-ah
@@ -0,0 +1,19 @@
+$NetBSD: patch-ah,v 1.1 1999/08/11 21:54:22 tron Exp $
+
+--- xfile.hc.orig Thu Mar 20 09:29:16 1997
++++ xfile.hc Wed Aug 4 14:42:46 1999
+@@ -12,10 +12,10 @@
+ /*----------------------------------------------------------------------*/
+
+ struct conv
+- {char b0;
+- char b1;
+- char b2;
+- char b3;
++ {signed char b0;
++ signed char b1;
++ signed char b2;
++ signed char b3;
+ };
+
+ union conv_data