aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d4c2b868046b..855737060587 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" \