summaryrefslogtreecommitdiffstats
path: root/network/freerdp/freerdp.SlackBuild
diff options
context:
space:
mode:
author Philip van der Hoeven2015-04-29 16:36:37 +0200
committer Willy Sudiarto Raharjo2015-04-29 17:21:52 +0200
commit1b244c8b19797712614f7bd6384e230675f198c0 (patch)
treee9052473355fa8652c0e0ed79f0276b0d75ba490 /network/freerdp/freerdp.SlackBuild
parent1b6e3e199819f8db59da7a168cf0f2560df8a0ae (diff)
downloadslackbuilds-1b244c8b19797712614f7bd6384e230675f198c0.tar.gz
network/freerdp: Fix compatibility with newer cmake.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/freerdp/freerdp.SlackBuild')
-rw-r--r--network/freerdp/freerdp.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/freerdp/freerdp.SlackBuild b/network/freerdp/freerdp.SlackBuild
index 47ecf12623..9a19604f68 100644
--- a/network/freerdp/freerdp.SlackBuild
+++ b/network/freerdp/freerdp.SlackBuild
@@ -28,7 +28,7 @@
PRGNAM=freerdp
VERSION=${VERSION:-1.2.0_beta1_android9}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
TARNAME=${VERSION%_*}+${VERSION##*_}
@@ -90,6 +90,9 @@ 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 {} \;
+# Patch for cmake 3.1. Thanks to Mario Preksavec and Christoph Willing.
+patch -p1 <$CWD/patches/freerdp-cmake-3.1.patch
+
mkdir -p build
cd build
cmake \