From b65ae0c00313eca65eaa4bc4694a919472df0a34 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Wed, 2 Mar 2022 14:01:05 +0100 Subject: [PATCH] alacritty: fix cross --- srcpkgs/alacritty/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/alacritty/template b/srcpkgs/alacritty/template index 9fb9ccfdb36d..3b3f8abc8044 100644 --- a/srcpkgs/alacritty/template +++ b/srcpkgs/alacritty/template @@ -14,7 +14,11 @@ homepage="https://github.com/alacritty/alacritty" changelog="https://raw.githubusercontent.com/alacritty/alacritty/master/CHANGELOG.md" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=5dee9c94f944b742b0189dd87c43c87175ffadde8049abb4668ca5a3e68fd65a -nocross="IndexMap/autocfg/rust issues - #34889" + +post_patch() { + # fixes an indexmap error when cross compiling + cargo update --package autocfg --precise 1.1.0 +} case "$XBPS_TARGET_MACHINE" in ppc64*) ;;