From af0665d7e25acce1d33a1a49bd9510d95f4b9355 Mon Sep 17 00:00:00 2001 From: q66 Date: Wed, 12 Feb 2020 17:42:28 +0100 Subject: [PATCH] starship: unbreak on most ppc --- srcpkgs/starship/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/starship/template b/srcpkgs/starship/template index bd0f7c033b6..4ca9e3830e3 100644 --- a/srcpkgs/starship/template +++ b/srcpkgs/starship/template @@ -1,7 +1,7 @@ # Template file for 'starship' pkgname=starship version=0.35.1 -revision=1 +revision=2 build_style=cargo build_helper="rust" hostmakedepends="pkg-config" @@ -14,9 +14,14 @@ distfiles="https://github.com/starship/starship/archive/v${version}.tar.gz" checksum=22b4bf8bfe45d492d69433942e02731b141091f11b03860cb02d21f4f2431285 case "$XBPS_TARGET_MACHINE" in - ppc*) broken="ftbfs in ring";; + ppc-musl) broken="rustc sigsegv";; esac +pre_build() { + vsed -i '/reqwest =/s/, "rustls-tls"//' Cargo.toml + cargo update +} + post_install() { vlicense LICENSE }