From d5981b5efb0c3e7c224d27b2e0553afa4eaefdd6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 29 Jan 2013 07:07:15 -0600 Subject: Fix references to KProcess --- .../tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ubuntu/precise/tdeutils/debian') diff --git a/ubuntu/precise/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff b/ubuntu/precise/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff index a794f17ff..3837407f6 100644 --- a/ubuntu/precise/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff +++ b/ubuntu/precise/tdeutils/debian/patches/01-klaptopdaemon-setuphandler.diff @@ -8,7 +8,7 @@ index 4dfb247..cd8f4b0 100644 proc << "root"; - proc << "chown root "+helper+"; chmod +s "+helper; + proc << "dpkg-statoverride --update --add root root 6755 "+helper; - proc.start(KProcess::Block); // run it sync so has_acpi below sees the results + proc.start(TDEProcess::Block); // run it sync so has_acpi below sees the results } } else { diff --git a/klaptopdaemon/apm.cpp b/klaptopdaemon/apm.cpp @@ -21,7 +21,7 @@ index 9de0c85..e348943 100644 proc << "root"; - proc << TQString("chown root ")+apm_name+TQString("; chmod +s ")+apm_name; + proc << TQString("dpkg-statoverride --update --add root root 6755 ")+apm_name; - proc.start(KProcess::Block); // run it sync so has_apm below sees the results + proc.start(TDEProcess::Block); // run it sync so has_apm below sees the results } } else { @@ -200,7 +200,7 @@ void ApmConfig::setupHelper2() // we use the acpi helper to do software suspend @@ -30,6 +30,6 @@ index 9de0c85..e348943 100644 proc << "root"; - proc << "chown root "+helper+"; chmod +s "+helper; + proc << "dpkg-statoverride --update --add root root 6755 "+helper; - proc.start(KProcess::Block); // run it sync so has_acpi below sees the results + proc.start(TDEProcess::Block); // run it sync so has_acpi below sees the results } } else { -- cgit v1.2.1