summaryrefslogtreecommitdiffstats
path: root/system/kyotocabinet/kyotocabinet.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2019-08-18 09:39:52 +0200
committer Matteo Bernardini2019-08-18 09:39:52 +0200
commit6b4dcc675fdfd2b11080d203d1807cbfab2ce79b (patch)
tree90a301b976acf4d029db86f7aec5dbb14034eae9 /system/kyotocabinet/kyotocabinet.SlackBuild
parentd04189e642ca17186cb9b2b5899fa9c12aceb782 (diff)
downloadslackbuilds-6b4dcc675fdfd2b11080d203d1807cbfab2ce79b.tar.gz
20190818.1 global branch merge.current-20190818.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 \