commit:     74d38102d26f09358ddbc9645691353cade7e41f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 19 12:14:52 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 19 12:19:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74d38102

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

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

 sci-libs/hdf/hdf-4.2.13-r1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sci-libs/hdf/hdf-4.2.13-r1.ebuild 
b/sci-libs/hdf/hdf-4.2.13-r1.ebuild
index ae60cc865d3..cb609f264b5 100644
--- a/sci-libs/hdf/hdf-4.2.13-r1.ebuild
+++ b/sci-libs/hdf/hdf-4.2.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -41,10 +41,12 @@ src_prepare() {
        default
        sed -i -e 's/-R/-L/g' config/commence.am || die #rpath
        eautoreconf
-       [[ $(tc-getFC) = *gfortran ]] && append-fflags -fno-range-check
 }
 
 src_configure() {
+       [[ $(tc-getFC) = *gfortran ]] && append-fflags -fno-range-check
+       append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
        econf \
                --enable-shared \
                --enable-production=gentoo \

Reply via email to