diff options
Diffstat (limited to 'sci-libs/qrupdate/qrupdate-1.1.2-r1.ebuild')
-rw-r--r-- | sci-libs/qrupdate/qrupdate-1.1.2-r1.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sci-libs/qrupdate/qrupdate-1.1.2-r1.ebuild b/sci-libs/qrupdate/qrupdate-1.1.2-r1.ebuild index 12576510a909..556683f3f338 100644 --- a/sci-libs/qrupdate/qrupdate-1.1.2-r1.ebuild +++ b/sci-libs/qrupdate/qrupdate-1.1.2-r1.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=5 -inherit eutils fortran-2 multilib versionator toolchain-funcs +inherit eutils fortran-2 flag-o-matic multilib versionator toolchain-funcs DESCRIPTION="Library for updating of QR and Cholesky decompositions" HOMEPAGE="https://sourceforge.net/projects/qrupdate" @@ -22,6 +22,11 @@ src_prepare() { epatch \ "${FILESDIR}"/${PN}-1.1.1-Makefiles.patch \ "${FILESDIR}"/${PN}-1.1.2-install.patch + + # GCC 10 workaround + # bug #741524 + append-fflags $(test-flags-FC -fallow-argument-mismatch) + sed -i Makeconf \ -e "s:gfortran:$(tc-getFC):g" \ -e "s:FFLAGS=.*:FFLAGS=${FFLAGS}:" \ |