summaryrefslogtreecommitdiff
path: root/user/xinit/06_move_serverauthfile_into_tmp.patch
diff options
context:
space:
mode:
authorErmine <mustela@erminea.space>2024-08-30 09:54:38 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-29 04:55:09 -0600
commitdabee823584d8c719ed22c3be74dea213c89d629 (patch)
tree2e9341a4a9369a69cf0c578021ca1f637f05eed0 /user/xinit/06_move_serverauthfile_into_tmp.patch
parentd7ca5ac0ce0350f8484ab1cd1ff262bcb473bde5 (diff)
downloadpackages-dabee823584d8c719ed22c3be74dea213c89d629.tar.gz
packages-dabee823584d8c719ed22c3be74dea213c89d629.tar.bz2
packages-dabee823584d8c719ed22c3be74dea213c89d629.tar.xz
packages-dabee823584d8c719ed22c3be74dea213c89d629.zip
user/xinit: upgrade to 1.4.2
Diffstat (limited to 'user/xinit/06_move_serverauthfile_into_tmp.patch')
-rw-r--r--user/xinit/06_move_serverauthfile_into_tmp.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/user/xinit/06_move_serverauthfile_into_tmp.patch b/user/xinit/06_move_serverauthfile_into_tmp.patch
index 99e8a6754..d128e1141 100644
--- a/user/xinit/06_move_serverauthfile_into_tmp.patch
+++ b/user/xinit/06_move_serverauthfile_into_tmp.patch
@@ -7,14 +7,14 @@ The trap patch didn't seem to work on reboot.
Index: xinit/startx.cpp
===================================================================
---- xinit.orig/startx.cpp
-+++ xinit/startx.cpp
-@@ -273,7 +273,7 @@
+--- xinit-1.4.2.orig/startx.cpp 2022-12-03 22:18:43.000000000 +0000
++++ xinit-1.4.2/startx.cpp 2024-08-30 09:47:01.763977101 +0000
+@@ -272,7 +272,7 @@ if [ x"$enable_xauth" = x1 ] ; then
dummy=0
XCOMM create a file with auth information for the server. ':0' is a dummy.
- xserverauthfile=$HOME/.serverauth.$$
+ xserverauthfile=`mktemp -p /tmp serverauth.XXXXXXXXXX`
- trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP KILL BUS TERM
+ trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP BUS TERM
xauth -q -f "$xserverauthfile" << EOF
add :$dummy . $mcookie