summaryrefslogtreecommitdiff
path: root/emulators/hercules/patches/patch-at
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/hercules/patches/patch-at')
-rw-r--r--emulators/hercules/patches/patch-at15
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/hercules/patches/patch-at b/emulators/hercules/patches/patch-at
new file mode 100644
index 00000000000..398900f10b6
--- /dev/null
+++ b/emulators/hercules/patches/patch-at
@@ -0,0 +1,15 @@
+$NetBSD: patch-at,v 1.1 2010/01/17 08:00:47 dholland Exp $
+
+Patch out mismatched decls gcc no longer accepts.
+
+--- tapemap.c~ 2001-01-28 18:05:41.000000000 +0000
++++ tapemap.c
+@@ -35,7 +35,7 @@ static BYTE buf[65500];
+ /*-------------------------------------------------------------------*/
+ /* ASCII to EBCDIC translate tables */
+ /*-------------------------------------------------------------------*/
+-static unsigned char
++unsigned char
+ ebcdic_to_ascii[] = {
+ "\x00\x01\x02\x03\xA6\x09\xA7\x7F\xA9\xB0\xB1\x0B\x0C\x0D\x0E\x0F"
+ "\x10\x11\x12\x13\xB2\xB4\x08\xB7\x18\x19\x1A\xB8\xBA\x1D\xBB\x1F"