git: 1f50359f9cfb - main - x11-wm/hyprland: unbreak headers skip after 5b4195285473
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Mar 2024 22:07:49 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=1f50359f9cfba875d45c32bbfced08f5968706a2 commit 1f50359f9cfba875d45c32bbfced08f5968706a2 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-03-01 22:01:49 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-03-01 22:06:34 +0000 x11-wm/hyprland: unbreak headers skip after 5b4195285473 $ hyprpm add <URL> [...] Headers corrupted. Please run hyprpm update to fix those. See also: 3a8517f68535 --- x11-wm/hyprland/files/patch-system-wlroots | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/x11-wm/hyprland/files/patch-system-wlroots b/x11-wm/hyprland/files/patch-system-wlroots index d466167166bd..cdd4e4d97185 100644 --- a/x11-wm/hyprland/files/patch-system-wlroots +++ b/x11-wm/hyprland/files/patch-system-wlroots @@ -36,3 +36,12 @@ Allow system wlroots to reduce maintenance (wlroots has tons of options) // find headers commit std::string cmd = std::format("PKG_CONFIG_PATH=\"{}/share/pkgconfig\" pkg-config --cflags --keep-system-cflags hyprland", DataState::getHeadersPath()); auto headers = execAndGet(cmd.c_str()); +@@ -307,7 +304,7 @@ eHeadersErrors CPluginManager::headersValid() { + else + headers = ""; + +- if (PATH.ends_with("protocols") || PATH.ends_with("wlroots")) ++ if (PATH.ends_with("protocols") || PATH.contains("wlroots")) + continue; + + verHeader = removeBeginEndSpacesTabs(PATH.substr(2)) + "/hyprland/src/version.h";