rustup: add patch for libressl-2.8.
This commit is contained in:
parent
2800e955c1
commit
c26312a3e4
2 changed files with 13 additions and 1 deletions
9
srcpkgs/rustup/patches/libressl-2.8.patch
Normal file
9
srcpkgs/rustup/patches/libressl-2.8.patch
Normal 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"}
|
|
@ -13,7 +13,10 @@ license="Apache-2.0, MIT"
|
||||||
homepage="https://www.rustup.rs"
|
homepage="https://www.rustup.rs"
|
||||||
distfiles="https://github.com/rust-lang-nursery/${pkgname}.rs/archive/${version}.tar.gz"
|
distfiles="https://github.com/rust-lang-nursery/${pkgname}.rs/archive/${version}.tar.gz"
|
||||||
checksum=ab125d9b12bf0f3f7e7ad98e826035fa1ae3dbe6ba8b78be4c82f9cde00bc59f
|
checksum=ab125d9b12bf0f3f7e7ad98e826035fa1ae3dbe6ba8b78be4c82f9cde00bc59f
|
||||||
broken="uses incompatible openssl-sys"
|
|
||||||
|
pre_build() {
|
||||||
|
cargo update --package openssl-sys --precise 0.9.35
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin target/${RUST_TARGET}/release/rustup-init rustup
|
vbin target/${RUST_TARGET}/release/rustup-init rustup
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue