From 93a55a0be08d73bc4f43d50f05e784f4a2c69301 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sat, 20 Aug 2022 09:39:19 +0200 Subject: [PATCH] rust-cargo-audit: fix cross --- srcpkgs/rust-cargo-audit/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/rust-cargo-audit/template b/srcpkgs/rust-cargo-audit/template index b733afa1a7b..93a470b37cb 100644 --- a/srcpkgs/rust-cargo-audit/template +++ b/srcpkgs/rust-cargo-audit/template @@ -18,7 +18,8 @@ if [ "$XBPS_TARGET_WORDSIZE" = "32" -a "$XBPS_TARGET_ENDIAN" = "be" ]; then fi pre_build() { - cargo update --package openssl-sys --precise 0.9.58 + # fixes an indexmap error when cross compiling + cargo update --package autocfg:1.0.1 --precise 1.1.0 } post_install() {