From 2f0d51da457794467adb14dad1e576b0b49863f0 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Fri, 12 Apr 2024 00:16:43 +0300 Subject: extra/openpgp-ca: Patch CARCH for rust --- extra/openpgp-ca/PKGBUILD | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 extra/openpgp-ca/PKGBUILD (limited to 'extra/openpgp-ca/PKGBUILD') diff --git a/extra/openpgp-ca/PKGBUILD b/extra/openpgp-ca/PKGBUILD new file mode 100644 index 00000000..3cdf97b9 --- /dev/null +++ b/extra/openpgp-ca/PKGBUILD @@ -0,0 +1,3 @@ +# 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