summaryrefslogtreecommitdiff
path: root/x11/kdebase4-runtime/files
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-03-03 04:18:22 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-03-03 04:18:22 +0000
commitaf63e016fda581a59ab79f971dbafbaf209f8b8f (patch)
tree443ff3cd48b42cd2095d79a7a8dfae36cdb386ac /x11/kdebase4-runtime/files
parentAdd ldapmodule. This unbreaks INDEX generation (diff)
Make the "default" target failback on KDE if the user doesn't have a
.xsession file. Before this fix, kdm wouldn't log the user in with "default" if no .xsession existed.. but it seems to make sense that KDE's display manager should fall back to KDE by default. Bump PORTREVISION. PR: 35223 Submitted by: Alan E <alane@geeksrus.net>
Notes
Notes: svn path=/head/; revision=55444
Diffstat (limited to 'x11/kdebase4-runtime/files')
-rw-r--r--x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c b/x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c
index d520f23414ba..2c852c344aac 100644
--- a/x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c
+++ b/x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c
@@ -1,5 +1,5 @@
--- kdm/kfrontend/genkdmconf.c.orig Mon Nov 5 21:40:03 2001
-+++ kdm/kfrontend/genkdmconf.c Sat Jan 5 23:49:40 2002
++++ kdm/kfrontend/genkdmconf.c Fri Feb 22 19:34:28 2002
@@ -212,7 +212,7 @@
*/
@@ -31,7 +31,17 @@
"-x " KDMCONF "/Xservers "
#endif
"$USER\n"
-@@ -1781,7 +1781,7 @@
+@@ -1658,7 +1658,8 @@
+ " exec xterm -geometry 80x24-0-0 $*\n"
+ " ;;\n"
+ " \"\"|default)\n"
+-" exec $HOME/.xsession $*\n"
++" test -x $HOME/.xsession && exec $HOME/.xsession $*\n"
++" sess=kde\n"
+ " ;;\n"
+ "esac\n"
+ "\n"
+@@ -1781,7 +1782,7 @@
}
addKdePath ("UserPath", DEF_USER_PATH);
addKdePath ("SystemPath", DEF_SYSTEM_PATH);