aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/hyprland/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/hyprland/files')
-rw-r--r--x11-wm/hyprland/files/patch-hyprctl_main.cpp4
-rw-r--r--x11-wm/hyprland/files/patch-hyprpm14
-rw-r--r--x11-wm/hyprland/files/patch-hyprpm_src_core_PluginManager.cpp14
-rw-r--r--x11-wm/hyprland/files/patch-src_config_ConfigWatcher.cpp10
4 files changed, 26 insertions, 16 deletions
diff --git a/x11-wm/hyprland/files/patch-hyprctl_main.cpp b/x11-wm/hyprland/files/patch-hyprctl_main.cpp
index 25fc645e01a9..b1c28e23f453 100644
--- a/x11-wm/hyprland/files/patch-hyprctl_main.cpp
+++ b/x11-wm/hyprland/files/patch-hyprctl_main.cpp
@@ -1,6 +1,6 @@
---- hyprctl/main.cpp.orig 2025-07-25 09:09:59 UTC
+--- hyprctl/main.cpp.orig 2025-09-10 12:53:39 UTC
+++ hyprctl/main.cpp
-@@ -268,7 +268,7 @@ int requestIPC(std::string_view filename, std::string_
+@@ -270,7 +270,7 @@ int requestIPC(std::string_view filename, std::string_
sockaddr_un serverAddress = {0};
serverAddress.sun_family = AF_UNIX;
diff --git a/x11-wm/hyprland/files/patch-hyprpm b/x11-wm/hyprland/files/patch-hyprpm
deleted file mode 100644
index 308729eb409b..000000000000
--- a/x11-wm/hyprland/files/patch-hyprpm
+++ /dev/null
@@ -1,14 +0,0 @@
-Avoid hyprpm rebuilding Hyprland outside of ports
-
---- hyprpm/src/core/PluginManager.cpp.orig 2024-04-14 18:48:28 UTC
-+++ hyprpm/src/core/PluginManager.cpp
-@@ -316,9 +316,6 @@ eHeadersErrors CPluginManager::headersValid() {
- eHeadersErrors CPluginManager::headersValid() {
- const auto HLVER = getHyprlandVersion();
-
-- if (!std::filesystem::exists(DataState::getHeadersPath() + "/share/pkgconfig/hyprland.pc"))
-- return HEADERS_MISSING;
--
- // find headers commit
- std::string cmd = std::format("PKG_CONFIG_PATH=\"{}/share/pkgconfig\" pkgconf --cflags --keep-system-cflags hyprland", DataState::getHeadersPath());
- auto headers = execAndGet(cmd.c_str());
diff --git a/x11-wm/hyprland/files/patch-hyprpm_src_core_PluginManager.cpp b/x11-wm/hyprland/files/patch-hyprpm_src_core_PluginManager.cpp
new file mode 100644
index 000000000000..898c0e5b76c2
--- /dev/null
+++ b/x11-wm/hyprland/files/patch-hyprpm_src_core_PluginManager.cpp
@@ -0,0 +1,14 @@
+Avoid hyprpm rebuilding Hyprland outside of ports
+
+--- hyprpm/src/core/PluginManager.cpp.orig 2025-09-10 12:53:39 UTC
++++ hyprpm/src/core/PluginManager.cpp
+@@ -391,9 +391,6 @@ eHeadersErrors CPluginManager::headersValid() {
+ eHeadersErrors CPluginManager::headersValid() {
+ const auto HLVER = getHyprlandVersion(false);
+
+- if (!std::filesystem::exists(DataState::getHeadersPath() + "/share/pkgconfig/hyprland.pc"))
+- return HEADERS_MISSING;
+-
+ // find headers commit
+ const std::string& cmd = std::format("PKG_CONFIG_PATH=\"{}/share/pkgconfig\" pkgconf --cflags --keep-system-cflags hyprland", DataState::getHeadersPath());
+ auto headers = execAndGet(cmd);
diff --git a/x11-wm/hyprland/files/patch-src_config_ConfigWatcher.cpp b/x11-wm/hyprland/files/patch-src_config_ConfigWatcher.cpp
new file mode 100644
index 000000000000..3dc27808ece6
--- /dev/null
+++ b/x11-wm/hyprland/files/patch-src_config_ConfigWatcher.cpp
@@ -0,0 +1,10 @@
+--- src/config/ConfigWatcher.cpp.orig 2025-09-13 08:12:56 UTC
++++ src/config/ConfigWatcher.cpp
+@@ -1,5 +1,7 @@
+ #include "ConfigWatcher.hpp"
++#if defined(__linux__)
+ #include <linux/limits.h>
++#endif
+ #include <sys/inotify.h>
+ #include "../debug/Log.hpp"
+ #include <ranges>