diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-12-11 17:46:30 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | ee1c8100e607dea5aa447aad3326fce9b52f54e4 (patch) | |
tree | 984dbd8d3dadbfbff4b351f08baeba9a7c282659 /network/csync | |
parent | 8625c499fd96a74faf73237ac1095ee1f518040a (diff) | |
download | slackbuilds-ee1c8100e607dea5aa447aad3326fce9b52f54e4.tar.gz |
network/csync: 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/csync')
-rw-r--r-- | network/csync/csync.SlackBuild | 5 |
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 |