aboutsummaryrefslogtreecommitdiff
path: root/academic/xflr5/xflr5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/xflr5/xflr5.SlackBuild')
-rw-r--r--academic/xflr5/xflr5.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/xflr5/xflr5.SlackBuild b/academic/xflr5/xflr5.SlackBuild
index 83ccd676234b..03f38a6d2e1f 100644
--- a/academic/xflr5/xflr5.SlackBuild
+++ b/academic/xflr5/xflr5.SlackBuild
@@ -85,8 +85,9 @@ sed -i "s/target\.path = \$\$PREFIX\/lib/target\.path = \$\$PREFIX\/lib${LIBDIRS
sed -i "s/target\.path = \$\$PREFIX\/lib/target\.path = \$\$PREFIX\/lib${LIBDIRSUFFIX}/g" \
xflr5-engine/xflr5-engine.pro
+# Patch seems to have been made with other line endings to the source.
# Fix linking
-patch -p0 < $CWD/link_directly.patch
+sed "s,$,\r," $CWD/link_directly.patch | patch -lp0 --verbose --binary
qmake-qt5 \
PREFIX=/usr \