diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-08-11 12:17:06 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-08-11 12:17:06 +0000 |
commit | d833305e38e2e1e18ed93d1415619f48b54309b2 (patch) | |
tree | 90934e3a4d1a58f53bf426ebea97272d2ce19dd0 | |
parent | ddf5dc19a3db89436ac2182a7d077a42957f8115 (diff) | |
download | FreeBSD-ports-d833305e38e2e1e18ed93d1415619f48b54309b2.zip FreeBSD-ports-d833305e38e2e1e18ed93d1415619f48b54309b2.tar.gz |
Fix yet another linuxism: /usr/bin/shutdown --> /sbin/shutdown.
-rw-r--r-- | x11/gnomecore/files/patch-ar | 23 |
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 0000000..80cef43 --- /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 */ |