git: 2fbba8be22d3 - main - security/vaultwarden: Fix build with rust 1.79.0

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Tue, 18 Jun 2024 10:59:43 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2fbba8be22d352cd99dd701a457977b26d08acc3

commit 2fbba8be22d352cd99dd701a457977b26d08acc3
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-06-14 15:10:59 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-06-18 10:59:01 +0000

    security/vaultwarden: Fix build with rust 1.79.0
    
    PR:             279707
    Approved by:    portmgr (build fix blanket)
---
 security/vaultwarden/files/patch-rust-1.79.0 | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/security/vaultwarden/files/patch-rust-1.79.0 b/security/vaultwarden/files/patch-rust-1.79.0
new file mode 100644
index 000000000000..676bf89aae45
--- /dev/null
+++ b/security/vaultwarden/files/patch-rust-1.79.0
@@ -0,0 +1,9 @@
+--- src/auth.rs.orig	2024-06-14 15:03:49 UTC
++++ src/auth.rs
+@@ -1,5 +1,6 @@
+ // JWT Handling
+ //
++#![allow(dead_code)]
+ use chrono::{Duration, Utc};
+ use num_traits::FromPrimitive;
+ use once_cell::sync::Lazy;