summarylogtreecommitdiffstats
path: root/fs25361.patch
diff options
context:
space:
mode:
authorDaniel Moch2019-09-21 13:09:31 -0400
committerDaniel Moch2019-09-21 13:09:31 -0400
commitfb5ca3c857edff33871c5d4848fbd51bbadf67c3 (patch)
treea8745daee991b5d92d9864f33fe40e074e833968 /fs25361.patch
downloadaur-xorg-xinit-posix.tar.gz
upgpkg: xorg-xinit-posix 1.4.1-1
Diffstat (limited to 'fs25361.patch')
-rw-r--r--fs25361.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/fs25361.patch b/fs25361.patch
new file mode 100644
index 00000000000..046968576e5
--- /dev/null
+++ b/fs25361.patch
@@ -0,0 +1,17 @@
+Common subdirectories: xinit.orig/privileged_startx and xinit/privileged_startx
+diff -u xinit.orig/startx.cpp xinit/startx.cpp
+--- xinit.orig/startx.cpp 2011-08-02 18:26:57.161711018 +0400
++++ xinit/startx.cpp 2011-08-02 19:06:39.348816866 +0400
+@@ -290,9 +290,9 @@
+ XCOMM now add the same credentials to the client authority file
+ XCOMM if '$displayname' already exists do not overwrite it as another
+ XCOMM server may need it. Add them to the '$xserverauthfile' instead.
+- for displayname in $authdisplay $hostname$authdisplay; do
++ for displayname in $authdisplay $hostname/unix$authdisplay; do
+ authcookie=`XAUTH list "$displayname" @@
+- | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
++ | sed -n "s/.*$hostname\/unix$authdisplay[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
+ if [ "z${authcookie}" = "z" ] ; then
+ XAUTH -q << EOF
+ add $displayname . $mcookie
+