diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-02-05 20:59:54 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-06 10:48:16 +0200 |
commit | 6030b76570e950b1d2c3cd13431a1a320622bac8 (patch) | |
tree | 47f192061b5d937d632e23ee6dda897bcb0515cc /gnu/packages/patches | |
parent | 494fc97cd4a919ddce8c8d2c2ff1c0c1b1b7fd25 (diff) | |
download | guix-6030b76570e950b1d2c3cd13431a1a320622bac8.tar.gz |
gnu: rust-openssl-sys-0.9: Don't skip build.
* gnu/packages/crates-io.scm (rust-openssl-sys-0.9)[source]: Add patch. [arguments]: Don't skip build. * gnu/packages/patches/rust-openssl-sys-no-vendor.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/rust-openssl-sys-no-vendor.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/patches/rust-openssl-sys-no-vendor.patch b/gnu/packages/patches/rust-openssl-sys-no-vendor.patch new file mode 100644 index 0000000000..78a6b5e3f7 --- /dev/null +++ b/gnu/packages/patches/rust-openssl-sys-no-vendor.patch @@ -0,0 +1,23 @@ +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 + +--- 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" + |