summaryrefslogtreecommitdiff
path: root/cad/verilog-current/patches
diff options
context:
space:
mode:
Diffstat (limited to 'cad/verilog-current/patches')
-rw-r--r--cad/verilog-current/patches/patch-aa13
-rw-r--r--cad/verilog-current/patches/patch-ad15
2 files changed, 24 insertions, 4 deletions
diff --git a/cad/verilog-current/patches/patch-aa b/cad/verilog-current/patches/patch-aa
new file mode 100644
index 00000000000..73d3545d731
--- /dev/null
+++ b/cad/verilog-current/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2000/04/30 18:15:18 dmcmahill Exp $
+
+--- iverilog.c.orig Fri Apr 28 21:20:14 2000
++++ iverilog.c Sat Apr 29 08:38:20 2000
+@@ -125,6 +125,6 @@
+ }
+
+- sprintf(tmp, "g++ -O -rdynamic -fno-exceptions -o %s -I%s "
+- "-L%s %s.cc -lvvm -ldl", opath, base, base, opath);
++ sprintf(tmp, "%s -O -Wl,--export-dynamic -fno-exceptions -o %s -I%s "
++ "-L%s %s.cc -lvvm %s", CXX, opath, IVL_INC, IVL_LIB, opath, DLLIB);
+
+ if (verbose_flag)
diff --git a/cad/verilog-current/patches/patch-ad b/cad/verilog-current/patches/patch-ad
index 77c1159fc4b..80b6e5fe941 100644
--- a/cad/verilog-current/patches/patch-ad
+++ b/cad/verilog-current/patches/patch-ad
@@ -1,11 +1,18 @@
-$NetBSD: patch-ad,v 1.3 2000/03/25 21:09:16 dmcmahill Exp $
+$NetBSD: patch-ad,v 1.4 2000/04/30 18:15:18 dmcmahill Exp $
don't use -O2 on parse.cc because of compiler bugs on sparc and pmax
(maybe others).
---- Makefile.in.orig Thu Mar 16 14:03:03 2000
-+++ Makefile.in Sat Mar 25 15:10:16 2000
-@@ -112,4 +112,6 @@
+--- Makefile.in.orig Fri Apr 28 12:50:53 2000
++++ Makefile.in Sat Apr 29 08:39:00 2000
+@@ -104,5 +104,5 @@
+
+ iverilog: iverilog.c
+- $(CC) $(CPPFLAGS) -o iverilog -DIVL_ROOT='"@libdir@/ivl"' iverilog.c
++ $(CC) $(CPPFLAGS) -o iverilog -DCXX='"@CXX@"' -DIVL_ROOT='"@libdir@/ivl"' -DIVL_INC='"@includedir@"' -DIVL_LIB='"@libdir@"' -DDLLIB='"@DLLIB@"' iverilog.c
+
+ %.o dep/%.d: %.cc
+@@ -115,4 +115,6 @@
parse.o dep/parse.d: parse.cc
+ $(CXX) -MD -c -I. $(CPPFLAGS) $<