commit: 03e838f05102db5710d73d13faea490d1e3d66cb Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Feb 19 13:01:13 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Feb 19 13:01:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03e838f0
sci-visualization/xd3d: workaround gcc 10 (fortran) failure Closes: https://bugs.gentoo.org/722426 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-visualization/xd3d/xd3d-8.3.1-r1.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sci-visualization/xd3d/xd3d-8.3.1-r1.ebuild b/sci-visualization/xd3d/xd3d-8.3.1-r1.ebuild index b79e8599c1d..d46bcf3fdc4 100644 --- a/sci-visualization/xd3d/xd3d-8.3.1-r1.ebuild +++ b/sci-visualization/xd3d/xd3d-8.3.1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit fortran-2 toolchain-funcs +inherit fortran-2 flag-o-matic toolchain-funcs DESCRIPTION="Scientific visualization tool" HOMEPAGE="http://www.cmap.polytechnique.fr/~jouve/xd3d/" @@ -40,6 +40,10 @@ src_prepare() { src_configure() { tc-export CC + # GCC 10 workaround + # bug #722426 + append-fflags $(test-flags-FC -fallow-argument-mismatch) + ./configure -arch=gentoo || die "configure failed." }