From fcf678210248a5d126ed612952308b60d518c477 Mon Sep 17 00:00:00 2001 From: q66 Date: Thu, 2 Jan 2020 18:04:08 +0100 Subject: [PATCH] parallel-rust: fix build --- srcpkgs/parallel-rust/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/parallel-rust/template b/srcpkgs/parallel-rust/template index c6e12c42e06..f6a1df6cfd4 100644 --- a/srcpkgs/parallel-rust/template +++ b/srcpkgs/parallel-rust/template @@ -12,6 +12,11 @@ homepage="https://github.com/mmstick/parallel" distfiles="https://github.com/mmstick/parallel/archive/${version}.tar.gz" checksum=70f09dcbf6d34486e505f3e4a04d4f5e30081ec6cd71920017a8e8090eabc242 +pre_build() { + # default version too old for ppc musl systems + cargo update --package libc --precise 0.2.66 +} + do_install() { vlicense LICENSE vbin target/${RUST_TARGET}/release/parallel parallel-rust