From 9c25fb40b9065bbe65d6b2e36a6c77672dd4fad3 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Wed, 2 Mar 2022 14:01:05 +0100 Subject: [PATCH 1/3] 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*) ;; From aaacd32f37e2dc1634bafbbee7850180ee97d8ac Mon Sep 17 00:00:00 2001 From: Subhaditya Nath Date: Fri, 18 Mar 2022 18:54:21 +0530 Subject: [PATCH 2/3] alacritty: fix distfiles URL --- srcpkgs/alacritty/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/alacritty/template b/srcpkgs/alacritty/template index 3b3f8abc8044..1c22d58d0aa3 100644 --- a/srcpkgs/alacritty/template +++ b/srcpkgs/alacritty/template @@ -12,7 +12,7 @@ maintainer="Andrea Brancaleoni " license="Apache-2.0" homepage="https://github.com/alacritty/alacritty" changelog="https://raw.githubusercontent.com/alacritty/alacritty/master/CHANGELOG.md" -distfiles="${homepage}/archive/v${version}.tar.gz" +distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" checksum=5dee9c94f944b742b0189dd87c43c87175ffadde8049abb4668ca5a3e68fd65a post_patch() { From 263925e14314d568db4fc2992a61ca50433fa613 Mon Sep 17 00:00:00 2001 From: Subhaditya Nath Date: Fri, 18 Mar 2022 18:59:06 +0530 Subject: [PATCH 3/3] alacritty: update to 0.10.1 --- srcpkgs/alacritty/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/alacritty/template b/srcpkgs/alacritty/template index 1c22d58d0aa3..94bf361be18d 100644 --- a/srcpkgs/alacritty/template +++ b/srcpkgs/alacritty/template @@ -1,6 +1,6 @@ # Template file for 'alacritty' pkgname=alacritty -version=0.10.0 +version=0.10.1 revision=1 build_wrksrc="${pkgname}" build_style=cargo @@ -13,7 +13,7 @@ license="Apache-2.0" homepage="https://github.com/alacritty/alacritty" changelog="https://raw.githubusercontent.com/alacritty/alacritty/master/CHANGELOG.md" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" -checksum=5dee9c94f944b742b0189dd87c43c87175ffadde8049abb4668ca5a3e68fd65a +checksum=e48d4b10762c2707bb17fd8f89bd98f0dcccc450d223cade706fdd9cfaefb308 post_patch() { # fixes an indexmap error when cross compiling