summaryrefslogtreecommitdiffstats
path: root/system/kyotocabinet/kyotocabinet.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2019-04-16 20:05:41 +0200
committer Matteo Bernardini2019-04-16 20:05:41 +0200
commit9ebc325833e858b4295322e10edda22b6b78ac27 (patch)
tree90dc75fdc9044943dfd98b4e15a2edee6adddb42 /system/kyotocabinet/kyotocabinet.SlackBuild
parent2a650741141e819af2ecf2c4da75502b0a18d799 (diff)
downloadslackbuilds-current-20190416.1.tar.gz
20190416.1 global branch merge.current-20190416.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 \