aboutsummaryrefslogtreecommitdiff
path: root/x11/kde4-workspace/files/patch-kdm::kfrontend::genkdmconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde4-workspace/files/patch-kdm::kfrontend::genkdmconf.c')
-rw-r--r--x11/kde4-workspace/files/patch-kdm::kfrontend::genkdmconf.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/x11/kde4-workspace/files/patch-kdm::kfrontend::genkdmconf.c b/x11/kde4-workspace/files/patch-kdm::kfrontend::genkdmconf.c
index 6aeac3d4433e..d520f23414ba 100644
--- a/x11/kde4-workspace/files/patch-kdm::kfrontend::genkdmconf.c
+++ b/x11/kde4-workspace/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 Sun Dec 9 22:42:26 2001
++++ kdm/kfrontend/genkdmconf.c Sat Jan 5 23:49:40 2002
@@ -212,7 +212,7 @@
*/
@@ -9,20 +9,24 @@
# define HALT_CMD "/sbin/shutdown -h now"
# define REBOOT_CMD "/sbin/shutdown -r now"
# elif defined(__SVR4)
-@@ -1606,7 +1606,7 @@
+@@ -1605,8 +1605,8 @@
+ "chown $USER /dev/console\n"
#endif
"\n"
- "#exec sessreg -a -l $DISPLAY "
+-"#exec sessreg -a -l $DISPLAY "
-#ifdef BSD
++"exec sessreg -a -l $DISPLAY "
+#if defined(BSD) || defined(__FreeBSD__)
"-x " KDMCONF "/Xservers "
#endif
"$USER\n"
-@@ -1628,7 +1628,7 @@
+@@ -1627,8 +1627,8 @@
+ "chmod 622 /dev/console\n"
#endif
"\n"
- "#exec sessreg -d -l $DISPLAY "
+-"#exec sessreg -d -l $DISPLAY "
-#ifdef BSD
++"exec sessreg -d -l $DISPLAY "
+#if defined(BSD) || defined(__FreeBSD__)
"-x " KDMCONF "/Xservers "
#endif