pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cross/atasm Make this package build when using gcc 2.95.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a5446348d1b
branches:  trunk
changeset: 469326:3a5446348d1b
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sun Feb 22 04:01:15 2004 +0000

description:
Make this package build when using gcc 2.95.

diffstat:

 cross/atasm/distinfo         |   3 ++-
 cross/atasm/patches/patch-ab |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 7fe435fe37f6 -r 3a5446348d1b cross/atasm/distinfo
--- a/cross/atasm/distinfo      Sun Feb 22 03:52:08 2004 +0000
+++ b/cross/atasm/distinfo      Sun Feb 22 04:01:15 2004 +0000
@@ -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 -r 7fe435fe37f6 -r 3a5446348d1b cross/atasm/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/atasm/patches/patch-ab      Sun Feb 22 04:01:15 2004 +0000
@@ -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);
++      }
+     } 
+   }
+ }



Home | Main Index | Thread Index | Old Index