summaryrefslogtreecommitdiffstats
path: root/ham/svxlink/svxlink.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2020-05-23 08:12:52 +0200
committer Matteo Bernardini2020-05-23 08:12:52 +0200
commit9b91bf41a9b6c2933b7757536fc9944e643602bf (patch)
treefb675a32bf315d68d76a87ac30b339d2f95fb5bd /ham/svxlink/svxlink.SlackBuild
parented0074d03fdb30fde2ae0f56100c935d31cefbb8 (diff)
downloadslackbuilds-current-20200523.1.tar.gz
20200523.1 global branch merge.current-20200523.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'ham/svxlink/svxlink.SlackBuild')
-rw-r--r--ham/svxlink/svxlink.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/ham/svxlink/svxlink.SlackBuild b/ham/svxlink/svxlink.SlackBuild
index 486723dbbc..b1165941f3 100644
--- a/ham/svxlink/svxlink.SlackBuild
+++ b/ham/svxlink/svxlink.SlackBuild
@@ -107,12 +107,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# From upstream
+patch -p2 < $CWD/gcc6.patch
+
mkdir -p build
cd build
cmake \
$BUILD_QTEL \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fpermissive" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONF_INSTALL_DIR=/etc \
-DLOCAL_STATE_DIR=/var \