summaryrefslogtreecommitdiff
path: root/cross/dasm/patches
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-11-20 16:24:43 +0000
committerminskim <minskim@pkgsrc.org>2004-11-20 16:24:43 +0000
commit14a670bf93e05dedbd0d4cf4bea359179c465833 (patch)
treea22f6e63f1f0f4d50f11bce95776b67eb031a32d /cross/dasm/patches
parent5fa82e8e80b44178ac920f47367d09692f1dfc3d (diff)
downloadpkgsrc-14a670bf93e05dedbd0d4cf4bea359179c465833.tar.gz
Import dasm from pkgsrc-wip. Packaged by mor (mor at linex dot com)
in PR pkg/19899 and modified by me. DASM is a highly evolved cross-assembler for 6502, 6803 and 68HC11 processors. It is very popular for hacking/cross-developing on old 6502-based video game systems from Atari, Nintendo, etc. DASM processes output from the Distella Atari ROM disassembler without modification.
Diffstat (limited to 'cross/dasm/patches')
-rw-r--r--cross/dasm/patches/patch-aa12
-rw-r--r--cross/dasm/patches/patch-ab14
2 files changed, 26 insertions, 0 deletions
diff --git a/cross/dasm/patches/patch-aa b/cross/dasm/patches/patch-aa
new file mode 100644
index 00000000000..455aa682e99
--- /dev/null
+++ b/cross/dasm/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/11/20 16:24:43 minskim Exp $
+
+--- asm.h.orig 1998-02-26 19:54:52.000000000 -0600
++++ asm.h
+@@ -40,7 +40,6 @@
+
+ typedef unsigned char ubyte;
+ typedef unsigned uword;
+-typedef long ulong;
+
+ #define MNE struct _MNE
+ #define MACRO struct _MACRO
diff --git a/cross/dasm/patches/patch-ab b/cross/dasm/patches/patch-ab
new file mode 100644
index 00000000000..4ce8490d3c5
--- /dev/null
+++ b/cross/dasm/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/11/20 16:24:43 minskim Exp $
+
+--- main.c.orig 1998-03-02 06:28:34.000000000 -0600
++++ main.c
+@@ -199,9 +199,7 @@ nextpass:
+ #if OlafDol
+ Localdollarindex = Lastlocaldollarindex = 0;
+ #endif
+- _fmode = 0x8000;
+ FI_temp = fopen(F_outfile, "w");
+- _fmode = 0;
+ Fisclear = 1;
+ CheckSum = 0;
+ if (FI_temp == NULL) {