diff options
author | kristerw <kristerw@pkgsrc.org> | 2004-02-22 04:01:15 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2004-02-22 04:01:15 +0000 |
commit | e05bc64a4313f14e8d3fc4ed18c5d354653a9590 (patch) | |
tree | 6105b6f10cf668e1848426b4c1652e5059e526cf /cross/atasm/patches | |
parent | f0bc7bfc60db3c491bbd85a7ac7ab6041540020f (diff) | |
download | pkgsrc-e05bc64a4313f14e8d3fc4ed18c5d354653a9590.tar.gz |
Make this package build when using gcc 2.95.
Diffstat (limited to 'cross/atasm/patches')
-rw-r--r-- | cross/atasm/patches/patch-ab | 20 |
1 files changed, 20 insertions, 0 deletions
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); ++ } + } + } + } |