diff options
author | tron <tron@pkgsrc.org> | 1999-08-11 21:54:21 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-08-11 21:54:21 +0000 |
commit | 51745079b0dd89603ea7abc5b50baae314d5c728 (patch) | |
tree | a0fe1a08f430c6e25fc149256efa1fb81e58727a /games/craft/patches | |
parent | 382df849540fbb99d061104fea9fe2ff8bb2863d (diff) | |
download | pkgsrc-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/patches')
-rw-r--r-- | games/craft/patches/patch-ag | 15 | ||||
-rw-r--r-- | games/craft/patches/patch-ah | 19 |
2 files changed, 31 insertions, 3 deletions
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 |