rust/SOURCES/rustc-1.59.0-disable-libssh2.patch

43 lines
1.1 KiB
Diff
Raw Normal View History

2022-11-15 06:42:52 +00:00
--- rustc-1.59.0-src/Cargo.lock.orig 2022-02-21 18:48:37.000000000 -0800
+++ rustc-1.59.0-src/Cargo.lock 2022-02-22 10:16:10.381962862 -0800
@@ -1935,7 +1935,6 @@
2022-05-17 08:53:31 +00:00
dependencies = [
"cc",
"libc",
- "libssh2-sys",
"libz-sys",
"openssl-sys",
"pkg-config",
2022-11-15 06:42:52 +00:00
@@ -1968,20 +1967,6 @@
2022-05-17 08:53:31 +00:00
]
[[package]]
-name = "libssh2-sys"
2022-11-15 06:42:52 +00:00
-version = "0.2.23"
2022-05-17 08:53:31 +00:00
-source = "registry+https://github.com/rust-lang/crates.io-index"
2022-11-15 06:42:52 +00:00
-checksum = "b094a36eb4b8b8c8a7b4b8ae43b2944502be3e59cd87687595cf6b0a71b3f4ca"
2022-05-17 08:53:31 +00:00
-dependencies = [
- "cc",
- "libc",
- "libz-sys",
- "openssl-sys",
- "pkg-config",
- "vcpkg",
-]
-
-[[package]]
name = "libz-sys"
version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-11-15 06:42:52 +00:00
--- rustc-1.59.0-src/vendor/git2/Cargo.toml.orig 2022-02-21 20:14:37.000000000 -0800
+++ rustc-1.59.0-src/vendor/git2/Cargo.toml 2022-02-22 10:12:23.021772490 -0800
@@ -51,7 +51,7 @@
2022-05-17 08:53:31 +00:00
version = "0.1.39"
[features]
-default = ["ssh", "https", "ssh_key_from_memory"]
+default = ["https"]
https = ["libgit2-sys/https", "openssl-sys", "openssl-probe"]
ssh = ["libgit2-sys/ssh"]
ssh_key_from_memory = ["libgit2-sys/ssh_key_from_memory"]