summaryrefslogtreecommitdiff
path: root/devel/tavrasm/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-03 10:08:51 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-03 10:08:51 +0000
commitb0c2234da8c9f51220ca4367034285f59d00fbe1 (patch)
treea444130b7c500bbf448e17f7cd89975701a69028 /devel/tavrasm/patches
parentea9e2618b7681e33ca3783a0f879b65f18d2b941 (diff)
downloadpkgsrc-b0c2234da8c9f51220ca4367034285f59d00fbe1.tar.gz
GCC 3.4 tells us to remove the parentheses around the type-id, so remove
them.
Diffstat (limited to 'devel/tavrasm/patches')
-rw-r--r--devel/tavrasm/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/tavrasm/patches/patch-ac b/devel/tavrasm/patches/patch-ac
new file mode 100644
index 00000000000..fe4c900202a
--- /dev/null
+++ b/devel/tavrasm/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2006/01/03 10:08:51 joerg Exp $
+
+--- symbol.cc.orig 2006-01-03 10:03:43.000000000 +0000
++++ symbol.cc
+@@ -140,7 +140,7 @@ int symbolTable::init(int cs, unsigned i
+
+ // Allocate mew symbol-table
+
+- if(size && (symtab = new (symbolTableEntry*)[size]))
++ if(size && (symtab = new symbolTableEntry *[size]))
+ {
+ // Clear hash-table
+