summaryrefslogtreecommitdiff
path: root/cross/atasm/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'cross/atasm/patches/patch-ab')
-rw-r--r--cross/atasm/patches/patch-ab16
1 files changed, 9 insertions, 7 deletions
diff --git a/cross/atasm/patches/patch-ab b/cross/atasm/patches/patch-ab
index ee1b0ab3e65..89ae00f7b4f 100644
--- a/cross/atasm/patches/patch-ab
+++ b/cross/atasm/patches/patch-ab
@@ -1,20 +1,22 @@
-$NetBSD: patch-ab,v 1.1 2004/02/22 04:01:15 kristerw Exp $
+$NetBSD: patch-ab,v 1.2 2014/12/09 15:10:47 mef Exp $
---- symbol.c.orig Sun Feb 22 04:56:22 2004
-+++ symbol.c Sun Feb 22 04:56:45 2004
-@@ -136,6 +136,7 @@
+Make this package build when using gcc 2.95.
+
+--- symbol.c.orig 2009-03-18 05:39:26.000000000 +0900
++++ src/symbol.c 2014-12-09 23:31:26.000000000 +0900
+@@ -150,6 +150,7 @@ void addUnk(char *unk) {
snprintf(buf,256,"=%.4x_%s=%s",invoked->orig->times,invoked->orig->name,unk);
unk=buf;
}
+ {
- unkLabel *look=isUnk(unk);
+ look=isUnk(unk);
if (!look) {
unkLabel *u=(unkLabel *)malloc(sizeof(unkLabel));
-@@ -144,6 +145,7 @@
+@@ -158,6 +159,7 @@ void addUnk(char *unk) {
unkLabels=u;
u->label=(char *)malloc(strlen(unk)+1);
strcpy(u->label,unk);
+ }
- }
+ }
}
}