summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-04-29 19:00:29 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-04-29 19:02:13 +0200
commit27e2f3689035cc8c4eb20364bd5f4f821a739a19 (patch)
tree129c66e043846addc1eb47adf918c1195d427ada /dev-libs/librdkafka/files
parentdev-ruby/childprocess: fix ruby26 compatibility (diff)
downloadgentoo-27e2f3689035cc8c4eb20364bd5f4f821a739a19.tar.gz
gentoo-27e2f3689035cc8c4eb20364bd5f4f821a739a19.tar.bz2
gentoo-27e2f3689035cc8c4eb20364bd5f4f821a739a19.zip
dev-libs/librdkafka: remove automagic on app-arch/zstd
Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-libs/librdkafka/files')
-rw-r--r--dev-libs/librdkafka/files/librdkafka-1.0.0-remove-automagic-on-zstd.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-libs/librdkafka/files/librdkafka-1.0.0-remove-automagic-on-zstd.patch b/dev-libs/librdkafka/files/librdkafka-1.0.0-remove-automagic-on-zstd.patch
new file mode 100644
index 000000000000..ed4dbda6b8ab
--- /dev/null
+++ b/dev-libs/librdkafka/files/librdkafka-1.0.0-remove-automagic-on-zstd.patch
@@ -0,0 +1,29 @@
+commit ff67402dcfb2f4913a3ff1d84449a5e1620ee4ae
+Author: Thomas Deutschmann <whissi@gentoo.org>
+AuthorDate: Mon Apr 29 18:57:10 2019 +0200
+Commit: Thomas Deutschmann <whissi@gentoo.org>
+CommitDate: Mon Apr 29 18:57:10 2019 +0200
+
+ configure: Add option to disable automagic dependency on zstd
+
+ This commit will add an option which will allow you to explicit disable
+ zstd usage.
+
+diff --git a/mklove/modules/configure.zstd b/mklove/modules/configure.zstd
+index 6dd621ad..3ea36ccf 100644
+--- a/mklove/modules/configure.zstd
++++ b/mklove/modules/configure.zstd
+@@ -9,8 +9,12 @@
+ # mkl_check zstd [<action>]
+ #
+
++mkl_toggle_option "Feature" ENABLE_ZSTD "--enable-zstd" "Enable support for ZSTD compression" "y"
++
+ function manual_checks {
+- local action=$1
++ local action=${1:-disable}
++
++ [[ $ENABLE_ZSTD == y ]] || return 0
+
+ if [[ $WITH_STATIC_LINKING != y ]]; then
+ # Homebrew does not provide a static library for zstd