New comment by jcgruenhage on void-packages repository https://github.com/void-linux/void-packages/pull/37681#issuecomment-1435640836 Comment: Okay, so there's a bit more to git-brws in specific, but with this diff it now builds based on your branch: ``` diff --git a/srcpkgs/git-brws/template b/srcpkgs/git-brws/template index ea5e550b01..9ebcec181a 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" @@ -12,9 +12,16 @@ homepage="https://rhysd.github.io/git-brws/" distfiles="https://github.com/rhysd/git-brws/archive/v${version}.tar.gz" checksum=3a4bbf93f0b16562260ca66c2b60c655d5bfc690d0229d11757be76d95cb81c5 -pre_build() { +post_patch() { # fixes an indexmap error when cross compiling cargo update --package autocfg:1.0.1 --precise 1.1.0 + + # required for openssl3 compat + cargo update --package openssl-sys:0.9.58 --precise 0.9.80 + cargo update --package openssl:0.10.30 --precise 0.10.45 + + # required for compatibility with Rust >= 1.64.0 + cargo update --package socket2:0.3.15 --precise 0.3.19 } post_install() { ``` Want me to commit that to a branch and push it somewhere so that you can cherry-pick, or do you want to do that yourself?