summaryrefslogtreecommitdiffstats
path: root/vendor/libssh2-sys/debian/patches/remove-zlib-ng-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libssh2-sys/debian/patches/remove-zlib-ng-compat.patch')
-rw-r--r--vendor/libssh2-sys/debian/patches/remove-zlib-ng-compat.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/libssh2-sys/debian/patches/remove-zlib-ng-compat.patch b/vendor/libssh2-sys/debian/patches/remove-zlib-ng-compat.patch
new file mode 100644
index 0000000..e965696
--- /dev/null
+++ b/vendor/libssh2-sys/debian/patches/remove-zlib-ng-compat.patch
@@ -0,0 +1,20 @@
+Index: libssh2-sys/Cargo.toml
+===================================================================
+--- libssh2-sys.orig/Cargo.toml
++++ libssh2-sys/Cargo.toml
+@@ -43,15 +43,9 @@ version = "1.0.25"
+ version = "0.3.11"
+
+ [features]
+-openssl-on-win32 = ["openssl-sys"]
+-zlib-ng-compat = ["libz-sys/zlib-ng"]
+
+ [target."cfg(target_env = \"msvc\")".build-dependencies.vcpkg]
+ version = "0.2"
+
+ [target."cfg(unix)".dependencies.openssl-sys]
+ version = "0.9.35"
+-
+-[target."cfg(windows)".dependencies.openssl-sys]
+-version = "0.9.35"
+-optional = true