aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mythtv
diff options
context:
space:
mode:
authorGreg Lehey <grog@FreeBSD.org>2007-01-17 05:52:04 +0000
committerGreg Lehey <grog@FreeBSD.org>2007-01-17 05:52:04 +0000
commit3fe64eed13d97356962f46c57ee79537c17a50df (patch)
tree453a0e7a3d9d06d324b2e505939e58d79e325d8a /multimedia/mythtv
parentd73ef7406d0eff5253c32bf26ec96b8466647846 (diff)
downloadports-3fe64eed13d97356962f46c57ee79537c17a50df.tar.gz
ports-3fe64eed13d97356962f46c57ee79537c17a50df.zip
Notes
Diffstat (limited to 'multimedia/mythtv')
-rw-r--r--multimedia/mythtv/files/patch-mythbackend-scheduler.cpp11
-rw-r--r--multimedia/mythtv/files/patch-mythfrontend-main.cpp11
-rw-r--r--multimedia/mythtv/files/patch-mythtv-setup-backendsettings.cpp11
3 files changed, 33 insertions, 0 deletions
diff --git a/multimedia/mythtv/files/patch-mythbackend-scheduler.cpp b/multimedia/mythtv/files/patch-mythbackend-scheduler.cpp
new file mode 100644
index 000000000000..6490295aacac
--- /dev/null
+++ b/multimedia/mythtv/files/patch-mythbackend-scheduler.cpp
@@ -0,0 +1,11 @@
+--- programs/mythbackend/scheduler.cpp~ Sat Sep 9 13:50:38 2006
++++ programs/mythbackend/scheduler.cpp Mon Jan 15 14:06:50 2007
+@@ -1578,7 +1578,7 @@
+ gContext->dispatch(me);
+
+ QString halt_cmd = gContext->GetSetting("ServerHaltCommand",
+- "sudo /sbin/halt -p");
++ "/sbin/shutdown -p now");
+
+ if (!halt_cmd.isEmpty())
+ {
diff --git a/multimedia/mythtv/files/patch-mythfrontend-main.cpp b/multimedia/mythtv/files/patch-mythfrontend-main.cpp
new file mode 100644
index 000000000000..2232c56b2c2c
--- /dev/null
+++ b/multimedia/mythtv/files/patch-mythfrontend-main.cpp
@@ -0,0 +1,11 @@
+--- programs/mythfrontend/main.cpp~ Mon Sep 11 15:04:42 2006
++++ programs/mythfrontend/main.cpp Mon Jan 15 14:06:28 2007
+@@ -472,7 +472,7 @@
+ void haltnow()
+ {
+ QString halt_cmd = gContext->GetSetting("HaltCommand",
+- "sudo /sbin/halt -p");
++ "/sbin/shutdown -p now");
+ if (!halt_cmd.isEmpty())
+ system(halt_cmd.ascii());
+ }
diff --git a/multimedia/mythtv/files/patch-mythtv-setup-backendsettings.cpp b/multimedia/mythtv/files/patch-mythtv-setup-backendsettings.cpp
new file mode 100644
index 000000000000..95e78fd9b28e
--- /dev/null
+++ b/multimedia/mythtv/files/patch-mythtv-setup-backendsettings.cpp
@@ -0,0 +1,11 @@
+--- programs/mythtv-setup/backendsettings.cpp~ Sat Aug 26 13:34:08 2006
++++ programs/mythtv-setup/backendsettings.cpp Mon Jan 15 14:07:17 2007
+@@ -386,7 +386,7 @@
+ {
+ GlobalLineEdit *gc = new GlobalLineEdit("ServerHaltCommand");
+ gc->setLabel(QObject::tr("Server halt command"));
+- gc->setValue("sudo /sbin/halt -p");
++ gc->setValue("/sbin/shutdown -p now");
+ gc->setHelpText(QObject::tr("The command used to halt the backends."));
+ return gc;
+ };