summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-base/xfce4-session/files/xfce4-session-4.10.1-alock_support_to_xflock4.patch')
-rw-r--r--xfce-base/xfce4-session/files/xfce4-session-4.10.1-alock_support_to_xflock4.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/xfce-base/xfce4-session/files/xfce4-session-4.10.1-alock_support_to_xflock4.patch b/xfce-base/xfce4-session/files/xfce4-session-4.10.1-alock_support_to_xflock4.patch
new file mode 100644
index 000000000000..feb020aaff03
--- /dev/null
+++ b/xfce-base/xfce4-session/files/xfce4-session-4.10.1-alock_support_to_xflock4.patch
@@ -0,0 +1,15 @@
+http://bugs.gentoo.org/501370
+http://bugzilla.xfce.org/show_bug.cgi?id=10679
+
+--- scripts/xflock4
++++ scripts/xflock4
+@@ -35,7 +35,8 @@
+ # else run another access locking utility, if installed
+ for lock_cmd in \
+ "xlock -mode blank" \
+- "slock"
++ "slock" \
++ "alock -bg blank -auth pam"
+ do
+ set -- $lock_cmd
+ if command -v -- $1 >/dev/null 2>&1; then