pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/intel2gas Patch out some bogus code that directl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6092f2e9671b
branches:  trunk
changeset: 567961:6092f2e9671b
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Nov 29 23:29:29 2009 +0000

description:
Patch out some bogus code that directly inspected the address of heap
variables. Fixes amd64 build.

diffstat:

 devel/intel2gas/Makefile         |   3 ++-
 devel/intel2gas/distinfo         |   3 ++-
 devel/intel2gas/patches/patch-ab |  20 ++++++++++++++++++++
 3 files changed, 24 insertions(+), 2 deletions(-)

diffs (49 lines):

diff -r 8f2904ed33c1 -r 6092f2e9671b devel/intel2gas/Makefile
--- a/devel/intel2gas/Makefile  Sun Nov 29 23:04:15 2009 +0000
+++ b/devel/intel2gas/Makefile  Sun Nov 29 23:29:29 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2006/07/22 04:46:15 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2009/11/29 23:29:29 dholland Exp $
 #
 
 DISTNAME=              intel2gas-1.3.3
+PKGREVISION=           1
 CATEGORIES=            devel
 MASTER_SITES=          http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/
 
diff -r 8f2904ed33c1 -r 6092f2e9671b devel/intel2gas/distinfo
--- a/devel/intel2gas/distinfo  Sun Nov 29 23:04:15 2009 +0000
+++ b/devel/intel2gas/distinfo  Sun Nov 29 23:29:29 2009 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 22:24:16 agc Exp $
+$NetBSD: distinfo,v 1.3 2009/11/29 23:29:29 dholland Exp $
 
 SHA1 (intel2gas-1.3.3.tar.gz) = 755e5a4739586944f974a1e39056cd20f150db65
 RMD160 (intel2gas-1.3.3.tar.gz) = 84b1bdf8c448967e72637bcf2082d57a2e433d5a
 Size (intel2gas-1.3.3.tar.gz) = 48460 bytes
 SHA1 (patch-aa) = 379ca4e385ce9b6e706fa5376a6a2e962146cbb0
+SHA1 (patch-ab) = e623d614b706d666250b774dae3632c44bd1f52d
diff -r 8f2904ed33c1 -r 6092f2e9671b devel/intel2gas/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/intel2gas/patches/patch-ab  Sun Nov 29 23:29:29 2009 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1 2009/11/29 23:29:29 dholland Exp $
+
+Patch out some bogus code that directly inspects addresses of heap
+variables.
+
+--- intel2gas.cc~      2009-11-29 18:24:52.000000000 -0500
++++ intel2gas.cc       2009-11-29 18:31:22.000000000 -0500
+@@ -57,10 +57,12 @@ syntaxlist_t *findSyntax(char const *nam
+   int counter = 0;
+   char* prev = 0;
+   while (l) {
++#if 0
+     if (int(l->name) > 0x10000000) {
+       printf("Error %d, prev=%s\n", counter, prev);
+       break;
+     }
++#endif
+     if (!strcasecmp(name,l->name))
+       return l;
+     counter++;



Home | Main Index | Thread Index | Old Index