summaryrefslogtreecommitdiff
path: root/network/csync
diff options
context:
space:
mode:
Diffstat (limited to 'network/csync')
-rw-r--r--network/csync/csync.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/network/csync/csync.SlackBuild b/network/csync/csync.SlackBuild
index 7f8dd18ee1..dbabaa2205 100644
--- a/network/csync/csync.SlackBuild
+++ b/network/csync/csync.SlackBuild
@@ -69,6 +69,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//' \
+ cmake/Modules/DefineCompilerFlags.cmake
+
# Make our build directory
mkdir build
cd build