git: b7ae4aceafca - main - x11/hyprshutdown: Unbreak build on -current and 15/stable

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Mon, 27 Jul 2026 11:47:48 UTC
The branch main has been updated by tagattie:

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

commit b7ae4aceafcac9d95ae104916a1755c1a0e22963
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-07-27 11:44:05 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-07-27 11:47:42 +0000

    x11/hyprshutdown: Unbreak build on -current and 15/stable
    
    Add missing #include <optional> for std::optional and std::nullopt.
    
    Reported by:    Adam Retter (via private email)
    MFH:            2026Q3
---
 x11/hyprshutdown/files/patch-src_helpers_OS.cpp | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/x11/hyprshutdown/files/patch-src_helpers_OS.cpp b/x11/hyprshutdown/files/patch-src_helpers_OS.cpp
new file mode 100644
index 000000000000..763d00f5fa05
--- /dev/null
+++ b/x11/hyprshutdown/files/patch-src_helpers_OS.cpp
@@ -0,0 +1,10 @@
+--- src/helpers/OS.cpp.orig	2026-07-26 05:17:40 UTC
++++ src/helpers/OS.cpp
+@@ -2,6 +2,7 @@
+ 
+ #include <filesystem>
+ #include <fstream>
++#include <optional>
+ 
+ #include <hyprutils/string/String.hpp>
+ #include <hyprutils/memory/Casts.hpp>