summaryrefslogtreecommitdiff
path: root/devel/z80-asm
diff options
context:
space:
mode:
authorrillig <rillig>2007-03-17 14:52:51 +0000
committerrillig <rillig>2007-03-17 14:52:51 +0000
commitebd9d5c5a028a23e555222c3f87c47a6cf514810 (patch)
tree61af98b1b965751d8f97f667c6d308f1097db2e7 /devel/z80-asm
parent0e8f89f58229dca82bad7e585bf6a882dcff34d5 (diff)
downloadpkgsrc-ebd9d5c5a028a23e555222c3f87c47a6cf514810.tar.gz
Fixed two gcc4 error messages.
Diffstat (limited to 'devel/z80-asm')
-rw-r--r--devel/z80-asm/distinfo4
-rw-r--r--devel/z80-asm/patches/patch-ab15
-rw-r--r--devel/z80-asm/patches/patch-ac17
3 files changed, 35 insertions, 1 deletions
diff --git a/devel/z80-asm/distinfo b/devel/z80-asm/distinfo
index 08f0b7e449f..75f10f72e83 100644
--- a/devel/z80-asm/distinfo
+++ b/devel/z80-asm/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.3 2007/01/12 14:11:19 rillig Exp $
+$NetBSD: distinfo,v 1.4 2007/03/17 14:52:51 rillig Exp $
SHA1 (z80-asm-1.0.tar.gz) = 0e34b722a91aa24d92f127f39c565fba8b0e028a
RMD160 (z80-asm-1.0.tar.gz) = 0fc754258de1051bd8136ad3f3bdf823b61b4a95
Size (z80-asm-1.0.tar.gz) = 53161 bytes
SHA1 (patch-aa) = 9271ae1662f750ecaf235ba760ad7a93fda3cbfe
+SHA1 (patch-ab) = 800d2c7eccaadb74a4f0c7df94f1dfe316f3ea07
+SHA1 (patch-ac) = 4fc3e9304ad6641974b55452d742a62154d76909
diff --git a/devel/z80-asm/patches/patch-ab b/devel/z80-asm/patches/patch-ab
new file mode 100644
index 00000000000..f2a41846065
--- /dev/null
+++ b/devel/z80-asm/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2007/03/17 14:52:51 rillig Exp $
+
+See patch-ac.
+
+--- instr.h.orig 2003-01-20 14:53:08.000000000 +0100
++++ instr.h 2007-03-17 15:51:07.000000000 +0100
+@@ -3,6 +3,8 @@
+ #ifndef __INSTR_H
+ #define __INSTR_H
+
++#include "z80-asm.h"
++
+ #define I_DEFS 71
+ #define I_DEFW 70
+ #define I_DEFB 69
diff --git a/devel/z80-asm/patches/patch-ac b/devel/z80-asm/patches/patch-ac
new file mode 100644
index 00000000000..a11a9c97d85
--- /dev/null
+++ b/devel/z80-asm/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1 2007/03/17 14:52:51 rillig Exp $
+
+gcc4 complains:
+regs.h:28: error: array type has incomplete element type
+regs.h:48: error: array type has incomplete element type
+
+--- regs.h.orig 2003-01-20 14:53:08.000000000 +0100
++++ regs.h 2007-03-17 15:50:38.000000000 +0100
+@@ -3,6 +3,8 @@
+ #ifndef __REGS_H
+ #define __REGS_H
+
++#include "z80-asm.h" /* for struct seznam_type */
++
+ #define R_EMPTY 0
+ #define R_A 1
+ #define R_B 2