diff --git a/srcpkgs/cargo-deny/patches/no-openssl-vendor.patch b/srcpkgs/cargo-deny/patches/no-openssl-vendor.patch new file mode 100644 index 00000000000..c683e607950 --- /dev/null +++ b/srcpkgs/cargo-deny/patches/no-openssl-vendor.patch @@ -0,0 +1,38 @@ +From c6f727f08b4ebc8ebc46abe374345937a1b0f0b9 Mon Sep 17 00:00:00 2001 +From: q66 +Date: Sun, 12 Jan 2020 03:53:28 +0100 +Subject: [PATCH] get rid of the vendored-openssl insanity + +Using vendored openssl will break multiple targets because the +openssl-src crate only has a bunch of target triples defined. +The point of this change was to apparently simplify building +on musl, well, it worked on musl fine before and now it's broken. + +This reverts https://github.com/EmbarkStudios/cargo-deny/pull/67. +--- + Cargo.toml | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +diff --git Cargo.toml Cargo.toml +index 566b02a..da3c844 100644 +--- Cargo.toml ++++ Cargo.toml +@@ -42,7 +42,7 @@ parking_lot = "0.10.0" + petgraph = "0.4.13" + rayon = "1.2.1" + regex = { version = "1.3.1", default-features = true } +-rustsec = { version = "0.16.0", features = ["vendored-openssl"] } ++rustsec = "0.16.0" + semver = "0.9.0" + serde = { version = "1.0.103", features = ["derive"] } + serde_json = "1.0.44" +@@ -60,6 +60,3 @@ lazy_static = "1.4.0" + # We use this for creating fake crate directories for + # crawling license files on disk + tempfile = "3.1.0" +- +-[patch.crates-io] +-rustsec = { git = "https://github.com/RustSec/rustsec-crate.git", rev = "aaba369" } +-- +2.24.0 + diff --git a/srcpkgs/cargo-deny/template b/srcpkgs/cargo-deny/template index bd80e8dbffb..ec163a5f987 100644 --- a/srcpkgs/cargo-deny/template +++ b/srcpkgs/cargo-deny/template @@ -1,7 +1,7 @@ # Template file for 'cargo-deny' pkgname=cargo-deny version=0.5.2 -revision=1 +revision=2 build_style=cargo hostmakedepends="pkg-config perl" makedepends="libressl-devel"