summaryrefslogtreecommitdiff
path: root/cross/atasm
diff options
context:
space:
mode:
authorkristerw <kristerw>2004-02-22 04:01:15 +0000
committerkristerw <kristerw>2004-02-22 04:01:15 +0000
commit0afb88b50a50498d96bb66f7f093f080c69f7f9d (patch)
tree6105b6f10cf668e1848426b4c1652e5059e526cf /cross/atasm
parent76845781fde30ed380d7d4309266a8ab61b2b743 (diff)
downloadpkgsrc-0afb88b50a50498d96bb66f7f093f080c69f7f9d.tar.gz
Make this package build when using gcc 2.95.
Diffstat (limited to 'cross/atasm')
-rw-r--r--cross/atasm/distinfo3
-rw-r--r--cross/atasm/patches/patch-ab20
2 files changed, 22 insertions, 1 deletions
diff --git a/cross/atasm/distinfo b/cross/atasm/distinfo
index 9041705da76..ec50f6131c2 100644
--- a/cross/atasm/distinfo
+++ b/cross/atasm/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/02/13 23:00:36 minskim Exp $
+$NetBSD: distinfo,v 1.2 2004/02/22 04:01:15 kristerw Exp $
SHA1 (atasm104.zip) = 7cee73afe97d92c8a299b6203fc9245241764810
Size (atasm104.zip) = 186653 bytes
SHA1 (patch-aa) = 719da09ed78357498eebb438bdeddb1364b824ae
+SHA1 (patch-ab) = 70d07b66572bafbc57f53e16f95f1567af1304a0
diff --git a/cross/atasm/patches/patch-ab b/cross/atasm/patches/patch-ab
new file mode 100644
index 00000000000..ee1b0ab3e65
--- /dev/null
+++ b/cross/atasm/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1 2004/02/22 04:01:15 kristerw Exp $
+
+--- symbol.c.orig Sun Feb 22 04:56:22 2004
++++ symbol.c Sun Feb 22 04:56:45 2004
+@@ -136,6 +136,7 @@
+ snprintf(buf,256,"=%.4x_%s=%s",invoked->orig->times,invoked->orig->name,unk);
+ unk=buf;
+ }
++ {
+ unkLabel *look=isUnk(unk);
+ if (!look) {
+ unkLabel *u=(unkLabel *)malloc(sizeof(unkLabel));
+@@ -144,6 +145,7 @@
+ unkLabels=u;
+ u->label=(char *)malloc(strlen(unk)+1);
+ strcpy(u->label,unk);
++ }
+ }
+ }
+ }