commit:     449c7b60dd05216a0d49b58256327b022497dd64
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 19 12:40:11 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 19 12:45:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=449c7b60

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 <sam <AT> gentoo.org>

 sci-chemistry/molden/molden-5.5.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sci-chemistry/molden/molden-5.5.ebuild 
b/sci-chemistry/molden/molden-5.5.ebuild
index 425238389f6..2587fffdd9b 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)"

Reply via email to