rustup: add patch for libressl-2.8.

This commit is contained in:
Johannes 2018-11-06 04:39:20 +01:00
parent 2800e955c1
commit c26312a3e4
2 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,9 @@
--- Cargo.toml
+++ Cargo.toml
@@ -77,3 +77,6 @@
name = "rustup-init"
path = "src/rustup-cli/main.rs"
test = false # no unit tests
+
+[patch.crates-io]
+openssl-sys = {git = 'https://github.com/jnbr/rust-openssl', rev = "d5471c97ae86e5bd1032eb6fd95005933f507c49"}

View file

@ -13,7 +13,10 @@ license="Apache-2.0, MIT"
homepage="https://www.rustup.rs"
distfiles="https://github.com/rust-lang-nursery/${pkgname}.rs/archive/${version}.tar.gz"
checksum=ab125d9b12bf0f3f7e7ad98e826035fa1ae3dbe6ba8b78be4c82f9cde00bc59f
broken="uses incompatible openssl-sys"
pre_build() {
cargo update --package openssl-sys --precise 0.9.35
}
do_install() {
vbin target/${RUST_TARGET}/release/rustup-init rustup