diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-08-11 20:17:06 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-08-11 20:17:06 +0800 |
commit | d833305e38e2e1e18ed93d1415619f48b54309b2 (patch) | |
tree | 90934e3a4d1a58f53bf426ebea97272d2ce19dd0 /x11/gnomecore | |
parent | ddf5dc19a3db89436ac2182a7d077a42957f8115 (diff) | |
download | freebsd-ports-graphics-d833305e38e2e1e18ed93d1415619f48b54309b2.tar.gz freebsd-ports-graphics-d833305e38e2e1e18ed93d1415619f48b54309b2.tar.zst freebsd-ports-graphics-d833305e38e2e1e18ed93d1415619f48b54309b2.zip |
Fix yet another linuxism: /usr/bin/shutdown --> /sbin/shutdown.
Diffstat (limited to 'x11/gnomecore')
-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 00000000000..80cef438a1b --- /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 */ |