diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2006-11-19 23:59:16 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2006-11-19 23:59:16 +0000 |
commit | aabbfbfb7de9c0c176bc840223ad5a17365503df (patch) | |
tree | 89474543249a752bfbfe64fa1c3f307cd8fa4fbe /sys-apps | |
parent | version bump (diff) | |
download | gentoo-2-aabbfbfb7de9c0c176bc840223ad5a17365503df.tar.gz gentoo-2-aabbfbfb7de9c0c176bc840223ad5a17365503df.tar.bz2 gentoo-2-aabbfbfb7de9c0c176bc840223ad5a17365503df.zip |
patch didn't work for some people
(Portage version: 2.1.2_rc2)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/hal/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/hal/files/hal-0.5.7.1-hibernate-fix.patch | 20 |
2 files changed, 15 insertions, 11 deletions
diff --git a/sys-apps/hal/ChangeLog b/sys-apps/hal/ChangeLog index f515dce0864b..0b640ad5d1e7 100644 --- a/sys-apps/hal/ChangeLog +++ b/sys-apps/hal/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/hal # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.108 2006/11/15 21:02:48 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.109 2006/11/19 23:59:16 cardoe Exp $ + + 19 Nov 2006; Doug Goldstein <cardoe@gentoo.org> + files/hal-0.5.7.1-hibernate-fix.patch: + patch didn't work for some people *hal-0.5.7.1-r2 (15 Nov 2006) diff --git a/sys-apps/hal/files/hal-0.5.7.1-hibernate-fix.patch b/sys-apps/hal/files/hal-0.5.7.1-hibernate-fix.patch index 71a299b713d0..86ac721096be 100644 --- a/sys-apps/hal/files/hal-0.5.7.1-hibernate-fix.patch +++ b/sys-apps/hal/files/hal-0.5.7.1-hibernate-fix.patch @@ -1,12 +1,12 @@ ---- tools/hal-system-power-suspend 2006-02-19 00:00:55.000000000 +0100 -+++ tools/hal-system-power-suspend2 2006-09-23 11:22:42.000000000 +0200 -@@ -62,6 +62,9 @@ +--- tools/hal-system-power-hibernate 2006-01-16 07:47:40.000000000 -0500 ++++ tools/hal-system-power-hibernate-new 2006-11-19 18:50:43.000000000 -0500 +@@ -36,6 +36,9 @@ elif [ -x "/usr/sbin/pmi" ] ; then - /usr/sbin/pmi action suspend force - RET=$? + /usr/sbin/pmi action hibernate force + RET=$? + elif [ -x "/usr/sbin/hibernate-ram" ] ; then -+ /usr/sbin/hibernate-ram -+ RET=$? - elif [ -w "/sys/power/state" ] ; then - # Use the raw kernel sysfs interface - echo "mem" > /sys/power/state ++ /usr/sbin/hibernate-ram ++ RET=$? + elif [ -x "/usr/sbin/pm-hibernate" ] ; then + /usr/sbin/pm-hibernate + RET=$? |