summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/rust-openssl-sys-no-vendor.patch
blob: 9855faf8b21aa78011278ce3289b230d15bcefdf (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
https://sources.debian.org/data/main/r/rust-openssl-sys/0.9.53-1/debian/patches/disable-vendor.patch
"MIT" licensed according to debian/copyright file
slightly modified to only change the vendored openssl-src dependency

Starting from rust-openssl-sys@0.9.69 Cargo.toml starts searching for openssl-3.0.

--- a/Cargo.toml
+++ b/Cargo.toml
@@ -31,14 +31,11 @@
 [build-dependencies.cc]
 version = "1.0"
 
-[build-dependencies.openssl-src]
-version = "111.0.1"
-optional = true
-
 [build-dependencies.pkg-config]
 version = "0.3.9"
 
 [features]
 vendored = ["openssl-src"]
+openssl-src = []
 [target."cfg(target_env = \"msvc\")".build-dependencies.vcpkg]
 version = "0.2"