summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2024-04-11 08:06:20 +0200
committerGuilherme Amadio <amadio@gentoo.org>2024-04-11 08:06:20 +0200
commit2a5e31933be5976e472cddcf73f65ecf4cb4b308 (patch)
treecdd42ace5bb85ccb48d60c3207be8a0aa07bf998 /sci-physics
parentsci-physics/xfoil: EAPI8 bump, fix bug #820623, #725718 (diff)
downloadgentoo-2a5e31933be5976e472cddcf73f65ecf4cb4b308.tar.gz
gentoo-2a5e31933be5976e472cddcf73f65ecf4cb4b308.tar.bz2
gentoo-2a5e31933be5976e472cddcf73f65ecf4cb4b308.zip
sci-physics/xfoil: fix bug 771615
Closes: https://bugs.gentoo.org/771615 Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/xfoil/files/xfoil-6.99-ldflags.patch12
-rw-r--r--sci-physics/xfoil/xfoil-6.99-r1.ebuild5
2 files changed, 16 insertions, 1 deletions
diff --git a/sci-physics/xfoil/files/xfoil-6.99-ldflags.patch b/sci-physics/xfoil/files/xfoil-6.99-ldflags.patch
new file mode 100644
index 000000000000..4667a891d8a7
--- /dev/null
+++ b/sci-physics/xfoil/files/xfoil-6.99-ldflags.patch
@@ -0,0 +1,12 @@
+Fix bug #771615
+
+--- a/bin/Makefile 2024-04-11 08:00:24.832420892 +0200
++++ b/bin/Makefile 2024-04-11 07:59:56.052410291 +0200
+@@ -152,7 +152,7 @@
+ $(INSTALLCMD) pplot $(BINDIR)
+
+ blu: blu.o profil.o
+- $(FC) -o blu blu.o profil.o
++ $(FC) -o blu blu.o profil.o $(FTNLIB)
+ $(INSTALLCMD) blu $(BINDIR)
+
diff --git a/sci-physics/xfoil/xfoil-6.99-r1.ebuild b/sci-physics/xfoil/xfoil-6.99-r1.ebuild
index 23bffe5c71d6..9628062e61ee 100644
--- a/sci-physics/xfoil/xfoil-6.99-r1.ebuild
+++ b/sci-physics/xfoil/xfoil-6.99-r1.ebuild
@@ -20,7 +20,10 @@ IUSE="doc examples"
RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}"/${P}-overflow.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-overflow.patch
+ "${FILESDIR}"/${P}-ldflags.patch
+)
src_prepare() {
# fix bug #147033