From f08493a55d3f0247c9a12e3d622dc5a05631487a Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sat, 20 Aug 2022 09:39:19 +0200 Subject: [PATCH] git-brws: fix cross --- srcpkgs/git-brws/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/git-brws/template b/srcpkgs/git-brws/template index bb301c16020..ea5e550b010 100644 --- a/srcpkgs/git-brws/template +++ b/srcpkgs/git-brws/template @@ -12,6 +12,11 @@ homepage="https://rhysd.github.io/git-brws/" distfiles="https://github.com/rhysd/git-brws/archive/v${version}.tar.gz" checksum=3a4bbf93f0b16562260ca66c2b60c655d5bfc690d0229d11757be76d95cb81c5 +pre_build() { + # fixes an indexmap error when cross compiling + cargo update --package autocfg:1.0.1 --precise 1.1.0 +} + post_install() { vlicense LICENSE.txt }