sci-electronics/iverilog: fix 10.3 gcc-10 build problem
authorHuang Rui <vowstar@gmail.com>
Thu, 30 Jan 2020 07:32:15 +0000 (15:32 +0800)
committerSergei Trofimovich <slyfox@gentoo.org>
Mon, 17 Feb 2020 07:23:23 +0000 (07:23 +0000)
commit4202315a5c0a34f3ce0be67ef3216efbae1c6532
tree76a267d943f5e2bbcdb21fa1dd41fc5f59429eba
parent4481b905c63fd1e6d0b75f29811f9a12b14db306
sci-electronics/iverilog: fix 10.3 gcc-10 build problem

gcc-10 and above flipped a default from -fcommon to -fno-common:
https://gcc.gnu.org/PR85678
Usually all it takes is to add a few 'extern' declarations and
move definitions from header files to modules. I've port iverilog
to gcc-10.

Closes: https://bugs.gentoo.org/706366
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Huang Rui <vowstar@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14619
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sci-electronics/iverilog/files/iverilog-10.3-fno-common.patch [new file with mode: 0644]
sci-electronics/iverilog/iverilog-10.3.ebuild