summaryrefslogtreecommitdiffstats
path: root/extra/libgit2-sys/debian/patches/remove-zlib-ng-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libgit2-sys/debian/patches/remove-zlib-ng-compat.patch')
-rw-r--r--extra/libgit2-sys/debian/patches/remove-zlib-ng-compat.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/libgit2-sys/debian/patches/remove-zlib-ng-compat.patch b/extra/libgit2-sys/debian/patches/remove-zlib-ng-compat.patch
new file mode 100644
index 000000000..5e5b44e5e
--- /dev/null
+++ b/extra/libgit2-sys/debian/patches/remove-zlib-ng-compat.patch
@@ -0,0 +1,15 @@
+Index: libgit2-sys/Cargo.toml
+===================================================================
+--- libgit2-sys.orig/Cargo.toml
++++ libgit2-sys/Cargo.toml
+@@ -59,10 +59,6 @@ ssh = ["libssh2-sys"]
+ ssh_key_from_memory = []
+ vendored = []
+ vendored-openssl = ["openssl-sys/vendored"]
+-zlib-ng-compat = [
+- "libz-sys/zlib-ng",
+- "libssh2-sys?/zlib-ng-compat",
+-]
+
+ [target."cfg(unix)".dependencies.openssl-sys]
+ version = "0.9.45"