diff --git a/accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp b/accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp index f2e7a4496bca..c726460f2f0c 100644 --- a/accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp +++ b/accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp @@ -1,25 +1,32 @@ ---- src/Hyprsunset.cpp.orig 2025-07-24 17:32:18 UTC +--- src/Hyprsunset.cpp.orig 2025-10-03 22:29:52 UTC +++ src/Hyprsunset.cpp -@@ -5,9 +5,22 @@ +@@ -1,13 +1,29 @@ + #include "ConfigManager.hpp" + #include "helpers/Log.hpp" + #include "IPCSocket.hpp" ++#include + #include #include #include #include +#include #include #include +#include #include + -+#if defined(_LIBCPP_HAS_NO_TIME_ZONE_DATABASE) ++#if defined(_LIBCPP_HAS_NO_TIME_ZONE_DATABASE) || \ ++ (defined(_LIBCPP_HAS_TIME_ZONE_DATABASE) && \ ++ _LIBCPP_HAS_TIME_ZONE_DATABASE == 0) +#pragma comment(lib, "date-tz") +#include +namespace std { + namespace chrono { + using date::current_zone; + using date::zoned_time; + } +} +#endif #define TIMESPEC_NSEC_PER_SEC 1000000000L