diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-04 12:02:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-04 12:02:00 +0100 |
commit | eab5731cdf11d4ae8cdf111461d46fd96c5bdd37 (patch) | |
tree | ce35c6d01b5ff5de95c3a20fef853b9a6518ad2e /dev-libs/librdkafka/files | |
parent | b7ebc951da8800f711142f69d9d958bde67a112d (diff) |
gentoo resync : 04.05.2019
Diffstat (limited to 'dev-libs/librdkafka/files')
-rw-r--r-- | dev-libs/librdkafka/files/librdkafka-1.0.0-remove-automagic-on-zstd.patch | 29 |
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 |