commit:     b7d866832648a6b46866e0d0aff5f96b1d9b5f34
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 19 12:25:38 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 19 12:44:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7d86683

sci-libs/pgplot: workaround gcc 10 (fortran) failure

Closes: https://bugs.gentoo.org/722190
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/pgplot/pgplot-5.2.2-r7.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-libs/pgplot/pgplot-5.2.2-r7.ebuild 
b/sci-libs/pgplot/pgplot-5.2.2-r7.ebuild
index 43b17b8974b..b1c5b83d6d5 100644
--- a/sci-libs/pgplot/pgplot-5.2.2-r7.ebuild
+++ b/sci-libs/pgplot/pgplot-5.2.2-r7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit eutils fortran-2 toolchain-funcs
+inherit eutils fortran-2 flag-o-matic toolchain-funcs
 
 MY_P="${PN}${PV//.}"
 
@@ -78,6 +78,10 @@ src_prepare() {
 }
 
 src_configure() {
+       # GCC 10 workaround
+       # bug #722190
+       append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
        ./makemake . linux
        # post makefile creation prefix hack
        sed -i -e "s|/usr|${EPREFIX}/usr|g" makefile || die

Reply via email to