From: | Andrew Ammerlaan <andrewammerlaan@××××××.net> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/proj/guru:master commit in: sci-electronics/verilator/ |
Date: | Thu, 14 May 2020 09:29:37 |
Message-Id: | 1589378177.b29b151acbaeb9bac47d237934e781262a9e5729.andrewammerlaan@gentoo |
1 | commit: b29b151acbaeb9bac47d237934e781262a9e5729 |
2 | Author: Huang Rui <vowstar <AT> gmail <DOT> com> |
3 | AuthorDate: Wed May 13 13:55:15 2020 +0000 |
4 | Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 | CommitDate: Wed May 13 13:56:17 2020 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b29b151a |
7 | |
8 | sci-electronics/verilator: fix compile problem |
9 | |
10 | Add patch file to live ebuild. |
11 | |
12 | Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
13 | Signed-off-by: Huang Rui <vowstar <AT> gmail.com> |
14 | |
15 | sci-electronics/verilator/verilator-9999.ebuild | 14 +++++++++++--- |
16 | 1 file changed, 11 insertions(+), 3 deletions(-) |
17 | |
18 | diff --git a/sci-electronics/verilator/verilator-9999.ebuild b/sci-electronics/verilator/verilator-9999.ebuild |
19 | index 10df066..bf099b7 100644 |
20 | --- a/sci-electronics/verilator/verilator-9999.ebuild |
21 | +++ b/sci-electronics/verilator/verilator-9999.ebuild |
22 | @@ -6,13 +6,16 @@ EAPI="7" |
23 | inherit autotools |
24 | |
25 | DESCRIPTION="The fast free Verilog/SystemVerilog simulator" |
26 | -HOMEPAGE="https://www.veripool.org/wiki/verilator" |
27 | +HOMEPAGE=" |
28 | + https://verilator.org |
29 | + https://github.com/verilator/verilator |
30 | +" |
31 | |
32 | if [[ "${PV}" == "9999" ]] ; then |
33 | inherit git-r3 |
34 | - EGIT_REPO_URI="https://git.veripool.org/git/${PN}" |
35 | + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" |
36 | else |
37 | - SRC_URI="http://www.veripool.org/ftp/${P}.tgz -> ${P}.tar.gz" |
38 | + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
39 | KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
40 | fi |
41 | |
42 | @@ -33,6 +36,11 @@ BDEPEND=" |
43 | sys-devel/flex |
44 | " |
45 | |
46 | +PATCHES=( |
47 | + # https://github.com/verilator/verilator/issues/2320 |
48 | + "${FILESDIR}"/${PN}-4.034-fix-bison.patch |
49 | +) |
50 | + |
51 | src_prepare() { |
52 | default |
53 | eautoconf --force |