From cdcaa8be77496d0412e03a66bab1294200c05f49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Tue, 4 Apr 2023 11:31:50 +0200 Subject: [PATCH] git-brws: fix build on Rust 1.64+ --- srcpkgs/git-brws/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/git-brws/template b/srcpkgs/git-brws/template index ea5e550b0106..b43b73e13c9f 100644 --- a/srcpkgs/git-brws/template +++ b/srcpkgs/git-brws/template @@ -1,7 +1,7 @@ # Template file for 'git-brws' pkgname=git-brws version=0.11.12 -revision=2 +revision=3 build_style=cargo hostmakedepends="pkg-config" makedepends="openssl-devel" @@ -11,10 +11,15 @@ license="MIT" homepage="https://rhysd.github.io/git-brws/" distfiles="https://github.com/rhysd/git-brws/archive/v${version}.tar.gz" checksum=3a4bbf93f0b16562260ca66c2b60c655d5bfc690d0229d11757be76d95cb81c5 +# Tests require git checkout and partially also GitHub tokens +make_check=no pre_build() { # fixes an indexmap error when cross compiling cargo update --package autocfg:1.0.1 --precise 1.1.0 + + # fixes compilation on Rust 1.64 and higher + cargo update --package socket2:0.3.15 --precise 0.3.16 } post_install() {