gnu: Add Combinatorial BLAS.
[jackhill/guix/guix.git] / gnu / packages / patches / xfce4-session-fix-xflock4.patch
CommitLineData
b90e7e5d
DT
1From cbb9c769316b4d32956a2c78aa01a38b473f0cfc Mon Sep 17 00:00:00 2001
2From: David Thompson <dthompson2@worcester.edu>
3Date: Fri, 30 Oct 2015 08:30:43 -0400
4Subject: [PATCH] xflock4: Do not override PATH with hardcoded value.
5
6The PATH "/bin:/usr/bin" may not be a valid search path on the user's
7machine. The screen locking program may be in /usr/local/bin or
8elsewhere. Distros that do not conform to the FHS, such as GuixSD and
9NixOS, will not have their executables in either location. Thus, we
10simply leave PATH alone.
11---
12 scripts/xflock4 | 3 ---
13 1 file changed, 3 deletions(-)
14
15diff --git a/scripts/xflock4 b/scripts/xflock4
16index ec4d05d..e7981ac 100644
17--- a/scripts/xflock4
18+++ b/scripts/xflock4
19@@ -21,9 +21,6 @@
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 #
22
23-PATH=/bin:/usr/bin
24-export PATH
25-
26 # Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
27 for lock_cmd in \
28 "xscreensaver-command -lock" \
29--
302.5.0
31