summaryrefslogtreecommitdiffstats
path: root/system/kyotocabinet/kyotocabinet.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/kyotocabinet/kyotocabinet.SlackBuild')
-rw-r--r--system/kyotocabinet/kyotocabinet.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/kyotocabinet/kyotocabinet.SlackBuild b/system/kyotocabinet/kyotocabinet.SlackBuild
index 6cb8823a5a..5efbfdb944 100644
--- a/system/kyotocabinet/kyotocabinet.SlackBuild
+++ b/system/kyotocabinet/kyotocabinet.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for kyotocabinet
-# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2017 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -69,6 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Patch for gcc >= 6.x - thanks to opensuse
+patch -p1 < $CWD/kyotocabinet-1.2.76-gcc6.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \