summaryrefslogtreecommitdiff
path: root/accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp')
-rw-r--r--accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp b/accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp
new file mode 100644
index 000000000000..f2e7a4496bca
--- /dev/null
+++ b/accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp
@@ -0,0 +1,25 @@
+--- src/Hyprsunset.cpp.orig 2025-07-24 17:32:18 UTC
++++ src/Hyprsunset.cpp
+@@ -5,9 +5,22 @@
+ #include <mutex>
+ #include <thread>
+ #include <chrono>
++#include <signal.h>
+ #include <sys/poll.h>
+ #include <sys/timerfd.h>
++#include <unistd.h>
+ #include <wayland-client-core.h>
++
++#if defined(_LIBCPP_HAS_NO_TIME_ZONE_DATABASE)
++#pragma comment(lib, "date-tz")
++#include <date/tz.h>
++namespace std {
++ namespace chrono {
++ using date::current_zone;
++ using date::zoned_time;
++ }
++}
++#endif
+
+ #define TIMESPEC_NSEC_PER_SEC 1000000000L
+