aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/gnomecore/files/patch-ar23
1 files changed, 23 insertions, 0 deletions
diff --git a/x11/gnomecore/files/patch-ar b/x11/gnomecore/files/patch-ar
new file mode 100644
index 000000000000..80cef438a1b4
--- /dev/null
+++ b/x11/gnomecore/files/patch-ar
@@ -0,0 +1,23 @@
+--- gsm/logout.c 2000/08/11 06:51:52 1.1
++++ gsm/logout.c 2000/08/11 07:07:38
+@@ -34,12 +34,20 @@
+
+ static gchar *halt_command[] =
+ {
++#ifdef __FreeBSD__
++ "/sbin/shutdown", "-h", "now", NULL
++#else
+ "/usr/bin/shutdown", "-h", "now", NULL
++#endif
+ };
+
+ static gchar *reboot_command[] =
+ {
++#ifdef __FreeBSD__
++ "/sbin/shutdown", "-r", "now", NULL
++#else
+ "/usr/bin/shutdown", "-r", "now", NULL
++#endif
+ };
+
+ /* What action to take upon shutdown */