From ee1c8100e607dea5aa447aad3326fce9b52f54e4 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Fri, 11 Dec 2015 17:46:30 +0000 Subject: network/csync: Fixed build with gcc-5.2.0. Signed-off-by: David Spencer Signed-off-by: Robby Workman --- network/csync/csync.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'network/csync') 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 -- cgit v1.2.3