[gentoo-commits] repo/gentoo:master commit in: sci-electronics/iverilog/files/

2021-03-01 Thread Conrad Kostecki
commit: 6b19a658921bb5815ab5c9e7d3c0f3883054cf49
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Mar  1 19:51:48 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Mar  1 22:11:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b19a658

sci-electronics/iverilog: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/19725
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../files/iverilog-10.3-gen-bison-header.patch | 97 --
 1 file changed, 97 deletions(-)

diff --git 
a/sci-electronics/iverilog/files/iverilog-10.3-gen-bison-header.patch 
b/sci-electronics/iverilog/files/iverilog-10.3-gen-bison-header.patch
deleted file mode 100644
index 0027184c833..000
--- a/sci-electronics/iverilog/files/iverilog-10.3-gen-bison-header.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-From 5b699c1be73e789831db01e779a41478c0c62309 Mon Sep 17 00:00:00 2001
-From: Henner Zeller 
-Date: Wed, 29 Jul 2020 15:29:08 -0700
-Subject: [PATCH] Bison includes its generated header in *.cc. Generate with
- correct name.
-
-The current bison (3.7) generates a *.cc file that includes the header
-it generated. For parse.cc this would be parse.hh. Right now, we rename
-this header to have a common name used in other files, but this results
-in a compile error for the parse.cc file:
-
-parse.cc:462:10: fatal error: parse.hh: No such file or directory
-  462 | #include "parse.hh"
-  |  ^~
-
-Fix this by telling bison to output the header file to the correct
-filename in the first place so that we don't have to rename it.
-(using the --defines instead of -d option).
-
-This looks like a bison specific option not available in Posix yacc;
-but looks like we're requiring bison anyway.
-
-Signed-off-by: Henner Zeller 

- Makefile.in | 4 +---
- tgt-pcb/Makefile.in | 4 +---
- vhdlpp/Makefile.in  | 4 +---
- vvp/Makefile.in | 4 +---
- 4 files changed, 4 insertions(+), 12 deletions(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index 5ac5515a..cc8cac46 100644
 a/Makefile.in
-+++ b/Makefile.in
-@@ -256,10 +256,8 @@ parse.o: parse.cc
- 
- # Build this in two steps to avoid parallel build issues (see pr3462585)
- parse.cc: $(srcdir)/parse.y
--  $(YACC) --verbose -t -p VL -d -o $@ $<
-+  $(YACC) --verbose -t -p VL --defines=parse.h -o $@ $<
- parse.h: parse.cc
--  mv parse.cc.h $@ 2>/dev/null || mv parse.hh $@
--  touch $@
- 
- syn-rules.cc: $(srcdir)/syn-rules.y
-   $(YACC) --verbose -t -p syn_ -o $@ $<
-diff --git a/tgt-pcb/Makefile.in b/tgt-pcb/Makefile.in
-index a5f9b7d5..7345e195 100644
 a/tgt-pcb/Makefile.in
-+++ b/tgt-pcb/Makefile.in
-@@ -89,10 +89,8 @@ fp_lex.cc: $(srcdir)/fp.lex
-   $(LEX) -s -ofp_lex.cc $(srcdir)/fp.lex
- 
- fp.cc: $(srcdir)/fp.y
--  $(YACC) --verbose -t -p fp -d -o $@ $<
-+  $(YACC) --verbose -t -p fp --defines=fp.h -o $@ $<
- fp.h: fp.cc
--  mv fp.cc.h $@ 2>/dev/null || mv fp.hh $@
--  touch $@
- 
- ifeq (@WIN32@,yes)
-   TGTLDFLAGS=-L.. -livl
-diff --git a/vhdlpp/Makefile.in b/vhdlpp/Makefile.in
-index 53ae140a..458178bd 100644
 a/vhdlpp/Makefile.in
-+++ b/vhdlpp/Makefile.in
-@@ -117,10 +117,8 @@ lexor.cc: $(srcdir)/lexor.lex
- 
- # Build this in two steps to avoid parallel build issues (see pr3462585)
- parse.cc: $(srcdir)/parse.y
--  $(YACC) --verbose -t -d -o $@ $<
-+  $(YACC) --verbose -t --defines=parse.h -o $@ $<
- parse.h: parse.cc
--  mv parse.cc.h $@ 2>/dev/null || mv parse.hh $@
--  touch $@
- 
- lexor_keyword.o: lexor_keyword.cc parse.h
- 
-diff --git a/vvp/Makefile.in b/vvp/Makefile.in
-index 8ccdb1d2..cdd940f5 100644
 a/vvp/Makefile.in
-+++ b/vvp/Makefile.in
-@@ -142,10 +142,8 @@ tables.o: tables.cc
- 
- # Build this in two steps to avoid parallel build issues (see pr3462585)
- parse.cc: $(srcdir)/parse.y
--  $(YACC) --verbose -t -d -o $@ $<
-+  $(YACC) --verbose -t --defines=parse.h -o $@ $<
- parse.h: parse.cc
--  mv parse.cc.h $@ 2>/dev/null || mv parse.hh $@
--  touch $@
- 
- lexor.cc: $(srcdir)/lexor.lex
-   $(LEX) -s -olexor.cc $(srcdir)/lexor.lex
--- 
-2.26.2
-



[gentoo-commits] repo/gentoo:master commit in: sci-electronics/iverilog/files/, sci-electronics/iverilog/

2021-01-04 Thread Lars Wendler
commit: 9a50258f8ee158c46726d702abcfb40ae98fe153
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jan  4 22:15:10 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jan  4 22:15:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a50258f

sci-electronics/iverilog: Fixed build with ~sys-devel/autoconf-2.70

Closes: https://bugs.gentoo.org/749870
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 .../files/iverilog-11.0-autoconf-2.70.patch| 304 +
 sci-electronics/iverilog/iverilog-11.0.ebuild  |   6 +-
 2 files changed, 309 insertions(+), 1 deletion(-)

diff --git a/sci-electronics/iverilog/files/iverilog-11.0-autoconf-2.70.patch 
b/sci-electronics/iverilog/files/iverilog-11.0-autoconf-2.70.patch
new file mode 100644
index 000..83864afa618
--- /dev/null
+++ b/sci-electronics/iverilog/files/iverilog-11.0-autoconf-2.70.patch
@@ -0,0 +1,304 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker 
+Date: Fri, 1 Jan 2021 18:42:01 +
+Subject: [PATCH] Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL  |  5 ++--
+ Makefile.in  |  2 +-
+ README.txt   |  2 +-
+ aclocal.m4   | 57 ++--
+ configure.in => configure.ac | 45 +---
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722cc..95b403761 100644
+--- a/INSTALL
 b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' 
so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+  script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 974593374..90ecadeb5 100644
+--- a/Makefile.in
 b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+   ./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+   cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebcf..d04dab88c 100644
+--- a/README.txt
 b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to 
generate
+ the configure scripts.
+ 
+   - autoconf 2.53 or later
+-This generates configure scripts from configure.in. The 2.53
++This generates configure scripts from configure.ac. The 2.53
+ or later versions are known to work, autoconf 2.13 is
+ reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1e..5fcc7cbf2 100644
+--- a/aclocal.m4
 b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+ [Use/set the installation command 
suffix])],
+[true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > 
`AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > 
`AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], 

[gentoo-commits] repo/gentoo:master commit in: sci-electronics/iverilog/files/

2017-02-01 Thread David Seifert
commit: 64ccb624b18f1714e653ea129fefa61d10c3b30d
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Tue Jan 31 17:43:24 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Feb  1 22:40:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64ccb624

sci-electronics/iverilog: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/3740

 .../iverilog/files/iverilog-0.9.1-gcc45.patch  | 37 --
 1 file changed, 37 deletions(-)

diff --git a/sci-electronics/iverilog/files/iverilog-0.9.1-gcc45.patch 
b/sci-electronics/iverilog/files/iverilog-0.9.1-gcc45.patch
deleted file mode 100644
index 4a69142..
--- a/sci-electronics/iverilog/files/iverilog-0.9.1-gcc45.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Fixing build with gcc 4.5
-
-https://bugs.gentoo.org/show_bug.cgi?id=319361
-
 pform_disciplines.cc
-+++ pform_disciplines.cc
-@@ -27,8 +27,8 @@
- map disciplines;
- map access_function_nature;
- 
--static perm_string nature_name = perm_string::perm_string();
--static perm_string nature_access = perm_string::perm_string();
-+static perm_string nature_name = perm_string();
-+static perm_string nature_access = perm_string();
- 
- void pform_start_nature(const char*name)
- {
-@@ -82,8 +82,8 @@
-   // expressions that use the access function can find it.
-   access_function_nature[nature_access] = tmp;
- 
--  nature_name = perm_string::perm_string();
--  nature_access = perm_string::perm_string();
-+  nature_name = perm_string();
-+  nature_access = perm_string();
- }
- 
- 
-@@ -171,7 +171,7 @@
-   FILE_NAME(tmp, loc);
- 
-   /* Clear the static variables for the next item. */
--  discipline_name = perm_string::perm_string();
-+  discipline_name = perm_string();
-   discipline_domain = IVL_DIS_NONE;
-   discipline_potential = 0;
-   discipline_flow = 0;