In compiling 1.32.7_1 build fails at patch setp with following log : =========================================================================== =======================<phase: patch >============================ ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Patching for vaultwarden-1.32.7_1 ===> Applying FreeBSD patches for vaultwarden-1.32.7_1 from /usr/ports/security/vaultwarden/files No file to patch. Skipping... 1 out of 1 hunks ignored--saving rejects to a/Cargo.toml.rej Can't create a/Cargo.toml.rej, output is in /tmp/patchrc08KiEdKht: No such file or directory No file to patch. Skipping... 3 out of 3 hunks ignored--saving rejects to a/src/api/notifications.rs.rej Can't create a/src/api/notifications.rs.rej, output is in /tmp/patchrc08KiEdKht: No such file or directory ===> FAILED Applying FreeBSD patch-rust-1.84.0 ===> FAILED to apply cleanly FreeBSD patch(es) patch-rust-1.84.0 *** Error code 1
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=186e9c3eda5a21d1b1fdd81c220c202c5d54b8d1 commit 186e9c3eda5a21d1b1fdd81c220c202c5d54b8d1 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2025-01-21 14:30:11 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2025-01-21 14:30:11 +0000 security/vaultwarden: fix bad patch When a patch live in the files/ in the form of patch-<name> it is automatically applied with -p0. a patch in the git form requires a -p1 fix the patch to be applicable with -p0 PR: 284239 Reported by: freebsd@rail.eu.org security/vaultwarden/files/patch-rust-1.84.0 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)