summaryrefslogtreecommitdiff
path: root/x11/kdebase4-workspace/files/patch-kdm_config.def
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdebase4-workspace/files/patch-kdm_config.def')
-rw-r--r--x11/kdebase4-workspace/files/patch-kdm_config.def13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/kdebase4-workspace/files/patch-kdm_config.def b/x11/kdebase4-workspace/files/patch-kdm_config.def
new file mode 100644
index 000000000000..d099b948a4ff
--- /dev/null
+++ b/x11/kdebase4-workspace/files/patch-kdm_config.def
@@ -0,0 +1,13 @@
+--- ../kdm/config.def.orig 2008-08-02 16:58:49.000000000 +0200
++++ ../kdm/config.def 2008-08-02 16:59:49.000000000 +0200
+@@ -35,8 +35,8 @@
+ #ifdef _AIX
+ # 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"
++#elif defined(__FreeBSD__)
++# define HALT_CMD "/sbin/shutdown -p now"
+ # define REBOOT_CMD "/sbin/shutdown -r now"
+ #elif defined(__SVR4)
+ # define HALT_CMD "/usr/sbin/halt"