summarylogtreecommitdiffstats
path: root/Xsession-xsm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Xsession-xsm.patch')
-rw-r--r--Xsession-xsm.patch17
1 files changed, 8 insertions, 9 deletions
diff --git a/Xsession-xsm.patch b/Xsession-xsm.patch
index a2d4d6cc661..5524de26ccc 100644
--- a/Xsession-xsm.patch
+++ b/Xsession-xsm.patch
@@ -1,18 +1,17 @@
-diff -Naur xdm-1.1.8-orig/config/Xsession.cpp xdm-1.1.8/config/Xsession.cpp
---- xdm-1.1.8-orig/config/Xsession.cpp 2008-05-21 14:08:45.000000000 -0400
-+++ xdm-1.1.8/config/Xsession.cpp 2009-04-28 02:56:11.000000000 -0400
-@@ -54,6 +54,7 @@
+--- xdm/config/Xsession.in.orig 2018-06-18 14:25:14.113681055 +0000
++++ xdm/config/Xsession.in 2018-06-18 14:26:10.313832406 +0000
+@@ -51,6 +51,7 @@
startup=$HOME/.xsession
resources=$HOME/.Xresources
+xinitrc=$HOME/.xinitrc
if [ -s "$startup" ]; then
- if [ -x "$startup" ]; then
-@@ -83,5 +84,9 @@
- exec `eval $XDESKTOP`
- }
- #endif
+ exec /bin/sh -ls -c "$startup"
+@@ -58,5 +59,9 @@
+ if [ -r "$resources" ]; then
+ BINDIR/xrdb -load "$resources"
+ fi
- exec BINDIR/xsm
+ if [ -r "$xinitrc" ]; then
+ exec /bin/sh -ls -c "$xinitrc"