New comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/37258#issuecomment-1237674008 Comment: I know I said the opposite before, but thinking about it again, i think pulling the patch from upstream is best this worked for me: ```patch diff --git a/srcpkgs/vaultwarden-web/template b/srcpkgs/vaultwarden-web/template index 47f3f41d62..557c3e1952 100644 --- a/srcpkgs/vaultwarden-web/template +++ b/srcpkgs/vaultwarden-web/template @@ -2,17 +2,26 @@ pkgname=vaultwarden-web version=2022.8.1 revision=1 -wrksrc="clients-web-v${version}" +_patch_ver=2022.8.0 +create_wrksrc=yes +build_wrksrc="clients-web-v${version}" hostmakedepends="git nodejs" short_desc="Web vault builds for vaultwarden" maintainer="Joel Beckmeyer " license="GPL-3.0-or-later" -# patches need to be pulled from -# https://github.com/dani-garcia/bw_web_builds/tree/master/patches into the -# patches directory homepage="https://github.com/dani-garcia/bw_web_builds" -distfiles="https://github.com/bitwarden/clients/archive/web-v${version}.tar.gz" -checksum=9dff38f13d8be047fe0fd6426bda3c409bb222b787bd6b21a3559f5d29255a92 +distfiles="https://github.com/bitwarden/clients/archive/web-v${version}.tar.gz + https://raw.githubusercontent.com/dani-garcia/bw_web_builds/master/patches/v${_patch_ver}.patch" +checksum="9dff38f13d8be047fe0fd6426bda3c409bb222b787bd6b21a3559f5d29255a92 + 1199bcf5edb0cad2e0fc1e839b5bdc690565d6af5b32cc1c38348f0b13c69ee9" + +post_extract() { + mv v$_patch_ver.patch ${build_wrksrc} +} + +post_patch() { + patch -Np1 -i v$_patch_ver.patch +} do_configure() { npm ci --ignore-scripts ``` I'm going to do some testing with it and we can get this merged