summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-19 13:01:13 +0000
committerSam James <sam@gentoo.org>2021-02-19 13:01:13 +0000
commit03e838f05102db5710d73d13faea490d1e3d66cb (patch)
tree47a2e89a2d12054248d03ac3996d6bd11fb00c33 /sci-visualization/xd3d
parentsci-libs/cgcode: workaround gcc 10 (fortran) failure (diff)
downloadgentoo-03e838f05102db5710d73d13faea490d1e3d66cb.tar.gz
gentoo-03e838f05102db5710d73d13faea490d1e3d66cb.tar.bz2
gentoo-03e838f05102db5710d73d13faea490d1e3d66cb.zip
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@gentoo.org>
Diffstat (limited to 'sci-visualization/xd3d')
-rw-r--r--sci-visualization/xd3d/xd3d-8.3.1-r1.ebuild8
1 files 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 b79e8599c1d3..d46bcf3fdc4d 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."
}