git: 186e9c3eda5a - main - security/vaultwarden: fix bad patch

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Tue, 21 Jan 2025 14:32:00 UTC
The branch main has been updated by bapt:

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(-)

diff --git a/security/vaultwarden/files/patch-rust-1.84.0 b/security/vaultwarden/files/patch-rust-1.84.0
index dd432e878e90..201b6d62e1eb 100644
--- a/security/vaultwarden/files/patch-rust-1.84.0
+++ b/security/vaultwarden/files/patch-rust-1.84.0
@@ -13,8 +13,8 @@ Subject: [PATCH] Allow building with Rust v1.84.0 or newer (#5371)
 
 diff --git a/Cargo.toml b/Cargo.toml
 index a5c320d8e0..547de58e3a 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
+--- Cargo.toml
++++ Cargo.toml
 @@ -230,6 +230,10 @@ unused_import_braces = "deny"
  unused_lifetimes = "deny"
  unused_qualifications = "deny"
@@ -28,8 +28,8 @@ index a5c320d8e0..547de58e3a 100644
  [lints.clippy]
 diff --git a/src/api/notifications.rs b/src/api/notifications.rs
 index 8c925e37bb..9a53b95ffc 100644
---- a/src/api/notifications.rs
-+++ b/src/api/notifications.rs
+--- src/api/notifications.rs
++++ src/api/notifications.rs
 @@ -101,6 +101,7 @@ impl Drop for WSAnonymousEntryMapGuard {
      }
  }