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.
This commit is contained in:
Ricardo Wurmus 2022-08-23 23:03:40 +02:00
parent 94616c3661
commit 2d0f081f2d
No known key found for this signature in database
GPG key ID: 197A5888235FACAC
2 changed files with 7 additions and 5 deletions

View file

@ -39959,14 +39959,14 @@ (define-public rust-openssl-probe-0.1
(define-public rust-openssl-sys-0.9
(package
(name "rust-openssl-sys")
(version "0.9.68")
(version "0.9.75")
(source
(origin
(method url-fetch)
(uri (crate-uri "openssl-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0l2ikxygkza3s5q3lvng4mhisdp2vdrvzkhpwhkx8vgnscjiymqw"))
(base32 "0bxlrsfkvryv179na416mvj0s90v9yngkmkkv8y1lm0h4w6bvyg5"))
(patches (search-patches "rust-openssl-sys-no-vendor.patch"))))
(build-system cargo-build-system)
(arguments
@ -39974,6 +39974,7 @@ (define-public rust-openssl-sys-0.9
(("rust-libc" ,rust-libc-0.2)
;; Build dependencies:
("rust-autocfg" ,rust-autocfg-1)
("rust-bindgen" ,rust-bindgen-0.59)
("rust-cc" ,rust-cc-1)
("rust-pkg-config" ,rust-pkg-config-0.3)
("rust-vcpkg" ,rust-vcpkg-0.2))))

View file

@ -6,12 +6,12 @@ Starting from rust-openssl-sys@0.9.69 Cargo.toml starts searching for openssl-3.
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -31,14 +31,11 @@
@@ -31,15 +31,12 @@
[build-dependencies.cc]
version = "1.0"
-[build-dependencies.openssl-src]
-version = "111.0.1"
-version = "111"
-optional = true
-
[build-dependencies.pkg-config]
@ -20,6 +20,7 @@ Starting from rust-openssl-sys@0.9.69 Cargo.toml starts searching for openssl-3.
[features]
vendored = ["openssl-src"]
+openssl-src = []
[target."cfg(target_env = \"msvc\")".build-dependencies.vcpkg]
version = "0.2"
version = "0.2.8"