summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-08-11 12:17:06 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-08-11 12:17:06 +0000
commit8e634aac21614b4921688089a30e3e3fb9bb66eb (patch)
treec8d8ea21ba18d58d4522916b2fd32e2ce9f0ea08 /x11
parentFix the recent breakage introduced in 1.1.4 upgrade. (diff)
Fix yet another linuxism: /usr/bin/shutdown --> /sbin/shutdown.
Notes
Notes: svn path=/head/; revision=31527
Diffstat (limited to 'x11')
-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 */