1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11-wm/hyprland: fix some recent features via linprocfs(4)

https://github.com/hyprwm/hyprland/commit/0569b9c30099
https://github.com/hyprwm/hyprland/commit/c3ec16f494f5
This commit is contained in:
Jan Beich 2024-06-14 00:55:33 +02:00
parent c91e0ddeb8
commit e2c0b26763

View File

@ -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: