From 4f411154e747b655fce18f115d0d893040c618fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Wed, 24 Jul 2013 20:48:35 +0200 Subject: RPM Packaging: Update kvirc, tdepowersave. Add mplayerthumbs. --- .../tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch (limited to 'redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch') diff --git a/redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch b/redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch new file mode 100644 index 000000000..08492a890 --- /dev/null +++ b/redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch @@ -0,0 +1,11 @@ +--- trinity-tdepowersave/src/hardware.cpp.ORI 2013-07-24 12:19:52.432706499 +0200 ++++ trinity-tdepowersave/src/hardware.cpp 2013-07-24 12:20:01.956723548 +0200 +@@ -546,7 +546,7 @@ + } + if ((*it) == TDESystemPowerState::Hibernate) { + suspend_states.suspend2disk = true; +- suspend_states.suspend2disk_allowed = rdevice->canSuspend(); ++ suspend_states.suspend2disk_allowed = rdevice->canHibernate(); + suspend_states.suspend2disk_can = suspend_states.suspend2disk_allowed & suspend_states.suspend2disk; + } + if ((*it) == TDESystemPowerState::PowerOff) { -- cgit v1.2.1