guix/gnu/packages/patches/rust-openssl-sys-no-vendor.patch
Ricardo Wurmus 2d0f081f2d
gnu: rust-openssl-sys-0.9: Update to 0.9.75.
* gnu/packages/crates-io.scm (rust-openssl-sys-0.9): Update to 0.9.75.
[arguments]: Add rust-bindgen-0.59.
* gnu/packages/patches/rust-openssl-sys-no-vendor.patch: Adjust.
2022-09-05 00:12:40 +02:00

26 lines
671 B
Diff

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,15 +31,12 @@
[build-dependencies.cc]
version = "1.0"
-[build-dependencies.openssl-src]
-version = "111"
-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.8"