summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2006-11-19 23:59:16 +0000
committerDoug Goldstein <cardoe@gentoo.org>2006-11-19 23:59:16 +0000
commit3eb1f207620a8c875b3d336155f76c030f9f4c48 (patch)
tree9c19a6c0222486f0c3a2ac4e463ffbef1dbb8c0f /sys-apps/hal
parentversion bump (diff)
downloadhistorical-3eb1f207620a8c875b3d336155f76c030f9f4c48.tar.gz
historical-3eb1f207620a8c875b3d336155f76c030f9f4c48.tar.bz2
historical-3eb1f207620a8c875b3d336155f76c030f9f4c48.zip
patch didn't work for some people
Package-Manager: portage-2.1.2_rc2
Diffstat (limited to 'sys-apps/hal')
-rw-r--r--sys-apps/hal/ChangeLog6
-rw-r--r--sys-apps/hal/files/hal-0.5.7.1-hibernate-fix.patch20
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=$?