mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
academic/xflr5: gzip patches.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
2dc0fc396e
commit
3bde9c7a59
3 changed files with 3 additions and 12 deletions
|
@ -1,11 +0,0 @@
|
|||
--- xflr5v6/xflr5v6.pro 2023-11-04 12:13:23.000000000 -0400
|
||||
+++ xflr5v6/xflr5v6.pro.new 2023-12-21 03:12:21.572518974 -0500
|
||||
@@ -121,7 +121,7 @@
|
||||
QMAKE_CFLAGS_WARN_ON -= -W3
|
||||
QMAKE_CFLAGS_WARN_ON += -W4
|
||||
|
||||
-LIBS += -L../XFoil-lib -lXFoil
|
||||
+LIBS += ../XFoil-lib/libXFoil.so
|
||||
|
||||
|
||||
include(xflr5v6.pri)
|
BIN
academic/xflr5/link_directly.patch.gz
Normal file
BIN
academic/xflr5/link_directly.patch.gz
Normal file
Binary file not shown.
|
@ -88,7 +88,9 @@ sed -i "s/Exec=\/usr\/local\/bin\/xflr5/Exec=\/usr\/bin\/xflr5/g" linux/xflr5.de
|
|||
sed -i "s/Icon=\/usr\/local\/share\/xflr5\/xflr5.png/Icon=xflr5/g" linux/xflr5.desktop
|
||||
|
||||
# Fix linking XFoil-lib
|
||||
patch -p0 < $CWD/link_directly.patch
|
||||
# Note: this patch *must* be gzipped, as it contain a mix of \n and \r\n
|
||||
# line endings, and git would strip the \r's.
|
||||
zcat $CWD/link_directly.patch.gz | patch -p0
|
||||
|
||||
qmake-qt5 \
|
||||
PREFIX=/usr \
|
||||
|
|
Loading…
Reference in a new issue