summaryrefslogtreecommitdiff
path: root/x11-wm/hyprland/files/patch-hyprpm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--x11-wm/hyprland/files/patch-hyprpm14
-rw-r--r--x11-wm/hyprland/files/patch-hyprpm_src_core_PluginManager.cpp14
2 files changed, 14 insertions, 14 deletions
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);