aboutsummaryrefslogtreecommitdiff
path: root/network/tmate
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-11 17:46:52 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commita17f47e87a395184e8c5bb5cb6185f20a969acb4 (patch)
tree3d0bd6f87cab1998fb98ada42e559cb1f9e93914 /network/tmate
parent9445defe3f2e4d43ab521ed5ef77ef469bd9c08e (diff)
network/tmate: Fixed build with gcc-5.2.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/tmate')
-rw-r--r--network/tmate/tmate.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/network/tmate/tmate.SlackBuild b/network/tmate/tmate.SlackBuild
index d4c2b868046b8..8557370605870 100644
--- a/network/tmate/tmate.SlackBuild
+++ b/network/tmate/tmate.SlackBuild
@@ -73,6 +73,11 @@ 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 {} \;
+# Fix for gcc-5.2.0
+# "ISO C does not support ‘__FUNCTION__’ predefined identifier"
+sed -i -e 's/ -pedantic -pedantic-errors//' \
+ libssh/cmake/Modules/DefineCompilerFlags.cmake
+
./autogen.sh
CFLAGS="$SLKCFLAGS" \