mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
x11/xfce4/xfce4-session: fix screen locking by dropping a bashism
from https://gitlab.xfce.org/xfce/xfce4-session/-/merge_requests/79 reported by stsp@, thanks !
This commit is contained in:
@@ -2,6 +2,7 @@ COMMENT= Xfce4 session manager
|
||||
|
||||
XFCE_PROJECT= xfce4-session
|
||||
XFCE_VERSION= 4.20.2
|
||||
REVISION= 0
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
https://gitlab.xfce.org/xfce/xfce4-session/-/merge_requests/79
|
||||
|
||||
Index: scripts/xflock4
|
||||
--- scripts/xflock4.orig
|
||||
+++ scripts/xflock4
|
||||
@@ -52,7 +52,7 @@ esac
|
||||
ret=$(echo $(dbus-send --session \
|
||||
--dest=org.xfce.SessionManager \
|
||||
--print-reply=literal \
|
||||
- --reply-timeout=$((2**31 - 1)) \
|
||||
+ --reply-timeout=$(((1<<31)-1)) \
|
||||
--type=method_call \
|
||||
/org/xfce/SessionManager \
|
||||
org.xfce.Session.Manager.Lock))
|
||||
Reference in New Issue
Block a user