From a890421262fd314b3c218ce6f771c5a39b2669e3 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Thu, 11 Apr 2024 01:12:09 +0300 Subject: extra/cargo-audit: Redo patching v2 --- extra/cargo-audit/PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'extra') diff --git a/extra/cargo-audit/PKGBUILD b/extra/cargo-audit/PKGBUILD index 4c87c0d9..3cdf97b9 100644 --- a/extra/cargo-audit/PKGBUILD +++ b/extra/cargo-audit/PKGBUILD @@ -1 +1,3 @@ -eval "$(declare -f prepare | sed 's@rustc -vV@echo "host: i686-unknown-linux-gnu"@')" +# eval "$(declare -f prepare | sed 's@rustc -vV@echo "host: i686-unknown-linux-gnu"@')" +# Essentially apply https://gitlab.archlinux.org/archlinux/packaging/packages/cargo-audit/-/commit/dd4c71adb934157153ec65bc0361fc6d30544158 +eval "$(declare -f prepare | sed 's@$CARCH-unknown-linux-gnu@$(rustc -vV | sed -n "s/host: //p")@')" -- cgit v1.2.3-70-g09d2