sci-physics/xfoil: fix bug 771615

Closes: https://bugs.gentoo.org/771615

Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
This commit is contained in:
Guilherme Amadio
2024-04-11 08:06:20 +02:00
parent 8029cc3cdc
commit 2a5e31933b
2 changed files with 16 additions and 1 deletions

View File

@@ -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)

View File

@@ -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