summaryrefslogtreecommitdiff
path: root/sci-physics/xfoil/xfoil-6.99.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /sci-physics/xfoil/xfoil-6.99.ebuild
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'sci-physics/xfoil/xfoil-6.99.ebuild')
-rw-r--r--sci-physics/xfoil/xfoil-6.99.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sci-physics/xfoil/xfoil-6.99.ebuild b/sci-physics/xfoil/xfoil-6.99.ebuild
index 8826b940814c..36047f4e3d56 100644
--- a/sci-physics/xfoil/xfoil-6.99.ebuild
+++ b/sci-physics/xfoil/xfoil-6.99.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 fortran-2 toolchain-funcs
+inherit fortran-2 flag-o-matic toolchain-funcs
DESCRIPTION="Design and analysis of subsonic isolated airfoils"
HOMEPAGE="http://raphael.mit.edu/xfoil/"
@@ -28,6 +28,10 @@ src_prepare() {
[[ $(tc-getFC) == *gfortran ]] && PATCHES+=( "${FILESDIR}"/${PN}-6.96-gfortran.patch )
default
+ # GCC 10 workaround
+ # bug #722194
+ append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
sed \
-e '/^FC/d' \
-e '/^CC/d' \