summaryrefslogtreecommitdiffstats
path: root/vendor/flate2/debian/patches/disable-zlib-ng.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/flate2/debian/patches/disable-zlib-ng.patch')
-rw-r--r--vendor/flate2/debian/patches/disable-zlib-ng.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/vendor/flate2/debian/patches/disable-zlib-ng.patch b/vendor/flate2/debian/patches/disable-zlib-ng.patch
new file mode 100644
index 0000000..d986a45
--- /dev/null
+++ b/vendor/flate2/debian/patches/disable-zlib-ng.patch
@@ -0,0 +1,30 @@
+Index: flate2/Cargo.toml
+===================================================================
+--- flate2.orig/Cargo.toml
++++ flate2/Cargo.toml
+@@ -49,10 +49,6 @@ rustdoc-args = [
+ [dependencies.crc32fast]
+ version = "1.2.0"
+
+-[dependencies.libz-ng-sys]
+-version = "1.1.8"
+-optional = true
+-
+ [dependencies.libz-sys]
+ version = "1.1.8"
+ optional = true
+@@ -84,14 +80,6 @@ zlib-default = [
+ "any_zlib",
+ "libz-sys/default",
+ ]
+-zlib-ng = [
+- "any_zlib",
+- "libz-ng-sys",
+-]
+-zlib-ng-compat = [
+- "zlib",
+- "libz-sys/zlib-ng",
+-]
+
+ [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.miniz_oxide]
+ version = "0.7.1"