From 67b3dce8f513ea31ffb616e9f255764724002336 Mon Sep 17 00:00:00 2001 From: kristerw Date: Sun, 22 Feb 2004 04:01:15 +0000 Subject: Make this package build when using gcc 2.95. --- cross/atasm/distinfo | 3 ++- cross/atasm/patches/patch-ab | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 cross/atasm/patches/patch-ab 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); ++ } + } + } + } -- cgit v1.2.3