From 449c7b60dd05216a0d49b58256327b022497dd64 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 19 Feb 2021 12:40:11 +0000 Subject: sci-chemistry/molden: workaround gcc 10 (fortran) failure Closes: https://bugs.gentoo.org/724556 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James --- sci-chemistry/molden/molden-5.5.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sci-chemistry/molden') diff --git a/sci-chemistry/molden/molden-5.5.ebuild b/sci-chemistry/molden/molden-5.5.ebuild index 425238389f6e..2587fffdd9be 100644 --- a/sci-chemistry/molden/molden-5.5.ebuild +++ b/sci-chemistry/molden/molden-5.5.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 + inherit desktop fortran-2 flag-o-matic toolchain-funcs MY_P="${PN}${PV}" @@ -51,6 +52,10 @@ src_compile() { # Use -mieee on alpha, according to the Makefile use alpha && append-flags -mieee + # GCC 10 workaround + # bug #724556 + append-fflags $(test-flags-FC -fallow-argument-mismatch) + args=( CC="$(tc-getCC) ${CFLAGS}" FC="$(tc-getFC)" -- cgit v1.2.3-65-gdbad