diff options
author | kamil <kamil> | 2016-10-08 23:01:45 +0000 |
---|---|---|
committer | kamil <kamil> | 2016-10-08 23:01:45 +0000 |
commit | eeb160d0d8cf4ea5d94f218d038c2eb202f7b93f (patch) | |
tree | f04061b412172945ea59734611cbafef888f1874 /cad/iverilog/patches | |
parent | dff261dedd56f67fb27e833759f42086452ccb28 (diff) | |
download | pkgsrc-eeb160d0d8cf4ea5d94f218d038c2eb202f7b93f.tar.gz |
Import iverilog (Icarus Verilog) 10.1.1 as cad/iverilog
It's a rename of cad/verilog to a better name.
Updated DESCR for new package:
Icarus Verilog is intended to compile ALL of the Verilog HDL as described in
the IEEE-1364 standard. Of course, it's not quite there yet. It does currently
handle a mix of structural and behavioral constructs.
Icarus Verilog is not aimed at being a simulator in the traditional sense, but
a compiler that generates code employed by back-end tools.
No objections to rename from <gdt>
Diffstat (limited to 'cad/iverilog/patches')
-rw-r--r-- | cad/iverilog/patches/patch-aa | 14 | ||||
-rw-r--r-- | cad/iverilog/patches/patch-ad | 25 | ||||
-rw-r--r-- | cad/iverilog/patches/patch-cadpli_Makefile | 17 |
3 files changed, 56 insertions, 0 deletions
diff --git a/cad/iverilog/patches/patch-aa b/cad/iverilog/patches/patch-aa new file mode 100644 index 00000000000..0c5a42d550d --- /dev/null +++ b/cad/iverilog/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1 2016/10/08 23:01:45 kamil Exp $ + +gcc44 fixes + +--- elab_net.cc.orig 2010-09-27 17:42:32.000000000 +0000 ++++ elab_net.cc +@@ -26,6 +26,7 @@ + + # include <cstdlib> + # include <cstring> ++# include <memory> + # include <iostream> + # include "ivl_assert.h" + diff --git a/cad/iverilog/patches/patch-ad b/cad/iverilog/patches/patch-ad new file mode 100644 index 00000000000..bbbd15f287a --- /dev/null +++ b/cad/iverilog/patches/patch-ad @@ -0,0 +1,25 @@ +$NetBSD: patch-ad,v 1.1 2016/10/08 23:01:45 kamil Exp $ + +make sure no one sneaks a -O* in on us via one of these variables +set in the environment + +--- Makefile.in.orig 2013-08-20 04:10:31.000000000 +0900 ++++ Makefile.in 2013-12-20 11:35:09.000000000 +0900 +@@ -222,6 +222,17 @@ + + lexor.o: lexor.cc parse.h + ++# make sure no one sneaks a -O* in on us via one of these variables ++# set in the environment ++CXX_NOOPT=$(CXX:-O%=) ++CPPFLAGS_NOOPT=$(CPPFLAGS:-O%=) ++CXXFLAGS_NOOPT=$(CXXFLAGS:-O%=) ++ ++parse.o: parse.cc ++ @[ -d dep ] || mkdir dep ++ $(CXX_NOOPT) $(CPPFLAGS_NOOPT) $(CXXFLAGS_NOOPT) -MD -c $< -o $*.o ++ mv $*.d dep/$*.d ++ + parse.o: parse.cc + + # Build this in two steps to avoid parallel build issues (see pr3462585) diff --git a/cad/iverilog/patches/patch-cadpli_Makefile b/cad/iverilog/patches/patch-cadpli_Makefile new file mode 100644 index 00000000000..690208cd46a --- /dev/null +++ b/cad/iverilog/patches/patch-cadpli_Makefile @@ -0,0 +1,17 @@ +$NetBSD: patch-cadpli_Makefile,v 1.1 2016/10/08 23:01:45 kamil Exp $ + +gcc -std=gnu99 -shared -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o cadpli.vpl cadpli.o ../libveriuser/libveriuser.o -L../vvp -lvpi +mkdir: dep: Not a directory +Makefile:52: recipe for target 'dep' failed + +--- cadpli/Makefile.in~ 2013-08-20 04:10:31.000000000 +0900 ++++ cadpli/Makefile.in 2013-12-20 22:03:29.000000000 +0900 +@@ -51,7 +51,7 @@ check: all + dep: + mkdir dep + +-%.o: %.c ++%.o: %.c dep + $(CC) $(CPPFLAGS) $(CFLAGS) @DEPENDENCY_FLAG@ -c $< + mv $*.d dep + |