Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/cargo-audit
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-04-11 01:12:09 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-04-11 01:12:09 +0300
commita890421262fd314b3c218ce6f771c5a39b2669e3 (patch)
tree8f5575cfce6525aa5b87ff90d5390f141dd8f92a /extra/cargo-audit
parent4ef17207f08f41c07e1698915acc4547f1a0fa55 (diff)
extra/cargo-audit: Redo patching v2
Diffstat (limited to 'extra/cargo-audit')
-rw-r--r--extra/cargo-audit/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
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")@')"