git: e2c0b2676363 - main - x11-wm/hyprland: fix some recent features via linprocfs(4)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Jun 2024 23:03:53 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e2c0b2676363ca1bee03c140cf6c021f0ce0d98e
commit e2c0b2676363ca1bee03c140cf6c021f0ce0d98e
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-06-13 22:55:33 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-06-13 23:03:12 +0000
x11-wm/hyprland: fix some recent features via linprocfs(4)
https://github.com/hyprwm/hyprland/commit/0569b9c30099
https://github.com/hyprwm/hyprland/commit/c3ec16f494f5
---
x11-wm/hyprland/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index 90553eb574a7..2e846e77a56d 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -1,6 +1,7 @@
PORTNAME= hyprland
DISTVERSIONPREFIX= v
DISTVERSION= 0.41.1
+PORTREVISION= 1
CATEGORIES= x11-wm wayland
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -82,6 +83,10 @@ post-patch:
# Respect PREFIX for wallpapers
@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
${WRKSRC}/src/render/OpenGL.cpp
+# XXX Replace linprocfs(4) with sysctl(3)
+ @${REINPLACE_CMD} -e 's,/proc,${LINUXBASE}&,g' \
+ ${WRKSRC}/src/desktop/Window.cpp \
+ ${WRKSRC}/src/plugins/HookSystem.cpp
.ifdef GH_TUPLE
post-configure: