diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
commit | 7014a5a3ea0feffab9701fdd6b64cc7667a985af (patch) | |
tree | f2cbbaa8bb9209cd15208721103228336149b799 /dev-libs/librdkafka/files | |
parent | 7a86906b67693cc65671d3e1476835d3a7e13092 (diff) |
gentoo resync : 30.06.2019
Diffstat (limited to 'dev-libs/librdkafka/files')
-rw-r--r-- | dev-libs/librdkafka/files/librdkafka-1.1.0-remove-automagic-on-zstd.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-libs/librdkafka/files/librdkafka-1.1.0-remove-automagic-on-zstd.patch b/dev-libs/librdkafka/files/librdkafka-1.1.0-remove-automagic-on-zstd.patch new file mode 100644 index 000000000000..792bb4535703 --- /dev/null +++ b/dev-libs/librdkafka/files/librdkafka-1.1.0-remove-automagic-on-zstd.patch @@ -0,0 +1,29 @@ +commit 828e10cb9331fc5bd48fb1d6fdb8e08cd5fb27ea +Author: Thomas Deutschmann <whissi@gentoo.org> +AuthorDate: Mon Apr 29 18:57:10 2019 +0200 +Commit: Thomas Deutschmann <whissi@gentoo.org> +CommitDate: Mon Jun 24 23:52:25 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.libzstd b/mklove/modules/configure.libzstd +index d9599d82..cb82c128 100644 +--- a/mklove/modules/configure.libzstd ++++ b/mklove/modules/configure.libzstd +@@ -9,8 +9,12 @@ + # mkl_check libzstd [<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 + + mkl_meta_set "libzstd" "brew" "zstd" + mkl_meta_set "libzstd" "apk" "zstd-dev zstd-static" |