aboutsummaryrefslogtreecommitdiff
path: root/x11/kde4-baseapps
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde4-baseapps')
-rw-r--r--x11/kde4-baseapps/files/patch-kdm-kfrontend-config.def11
-rw-r--r--x11/kde4-baseapps/files/patch-kdm-kfrontend-genkdmconf.c14
2 files changed, 17 insertions, 8 deletions
diff --git a/x11/kde4-baseapps/files/patch-kdm-kfrontend-config.def b/x11/kde4-baseapps/files/patch-kdm-kfrontend-config.def
new file mode 100644
index 000000000000..3776abd3beae
--- /dev/null
+++ b/x11/kde4-baseapps/files/patch-kdm-kfrontend-config.def
@@ -0,0 +1,11 @@
+--- kdm/kfrontend/config.def.orig Thu Nov 11 20:47:50 2004
++++ kdm/kfrontend/config.def Thu Nov 11 20:51:18 2004
+@@ -10,7 +10,7 @@
+ # define HALT_CMD "/usr/sbin/shutdown -h now"
+ # define REBOOT_CMD "/usr/sbin/shutdown -r now"
+ #elif defined(BSD)
+-# define HALT_CMD "/sbin/shutdown -h now"
++# define HALT_CMD "/sbin/shutdown -p now"
+ # define REBOOT_CMD "/sbin/shutdown -r now"
+ #elif defined(__SVR4)
+ # define HALT_CMD "/usr/sbin/halt"
diff --git a/x11/kde4-baseapps/files/patch-kdm-kfrontend-genkdmconf.c b/x11/kde4-baseapps/files/patch-kdm-kfrontend-genkdmconf.c
index e3027efaa8d5..c845a8cbf236 100644
--- a/x11/kde4-baseapps/files/patch-kdm-kfrontend-genkdmconf.c
+++ b/x11/kde4-baseapps/files/patch-kdm-kfrontend-genkdmconf.c
@@ -1,5 +1,5 @@
---- kdm/kfrontend/genkdmconf.c.orig Thu Aug 5 20:57:04 2004
-+++ kdm/kfrontend/genkdmconf.c Wed Sep 15 18:18:11 2004
+--- kdm/kfrontend/genkdmconf.c.orig Sun Oct 3 09:11:07 2004
++++ kdm/kfrontend/genkdmconf.c Thu Nov 11 20:47:01 2004
@@ -578,7 +578,7 @@
"# by Xsetup usually.\n"
"# This is not required if you use PAM with the pam_console module.\n"
@@ -20,14 +20,12 @@
"\n"
#ifdef _AIX
"if [ -f /usr/lib/X11/xdm/sessreg ]; then\n"
-@@ -667,9 +667,7 @@ static const char def_session[] =
- " */csh|*/tcsh)\n"
+@@ -668,7 +668,7 @@
" # [t]cshrc is always sourced automatically.\n"
" # Note that sourcing csh.login after .cshrc is non-standard.\n"
--" set -a\n"
+ " set -a\n"
-" eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login > /dev/null; if (-f ~/.login) source ~/.login > /dev/null; /bin/sh -c set | egrep -v \"^(BASH_VERSINFO|EUID|PPID|UID|GROUPS|SHELLOPTS|_)=\"'`\n"
--" set +a\n"
-+" eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login > /dev/null; if (-f ~/.login) source ~/.login > /dev/null; /bin/sh -c export'`\n"
++" eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login >& /dev/null; if (-f ~/.login) source ~/.login >& /dev/null; printenv | egrep -v \"^(TERM|SHLVL)=\"'`\n"
+ " set +a\n"
" ;;\n"
" *) # Plain sh, ksh, and anything we don't know.\n"
- " [ -f /etc/profile ] && . /etc/profile\n"