[Pkg-wmaker-commits] [wmbattery] 65/241: releasing version 2.22

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 23:37:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmbattery.

commit 8e239df65bf6f442d29a8a47d29439ef5392d5b6
Author: joey <joey at a4a2c43b-8ac3-0310-8836-e0e880c912e2>
Date:   Mon May 2 22:21:56 2005 +0000

    releasing version 2.22
---
 acpi.c           | 4 ++--
 debian/changelog | 7 +++++++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/acpi.c b/acpi.c
index 51ef9e5..51ce588 100644
--- a/acpi.c
+++ b/acpi.c
@@ -245,10 +245,10 @@ int acpi_supported (void) {
 	}
 	closedir(dir);
 	
-	version = get_acpi_value("info", "ACPI-CA Version:");
+	version = get_acpi_value(PROC_ACPI "/info", "ACPI-CA Version:");
 	if (version == NULL) {
 		/* 2.5 kernel acpi */
-		version = get_acpi_value("info", "version:");
+		version = get_acpi_value(PROC_ACPI "/info", "version:");
 	}
 	if (version == NULL) {
 		return 0;
diff --git a/debian/changelog b/debian/changelog
index 9f8911f..017df1d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+wmbattery (2.22) unstable; urgency=low
+
+  * Fix acpi detection, the code to read /proc/acpi/info was not updated
+    to the new cd-less code. Closes: #307278
+
+ -- Joey Hess <joeyh at debian.org>  Mon,  2 May 2005 18:14:01 -0400
+
 wmbattery (2.21) unstable; urgency=low
 
   * Merge in changes from procmeter3's version of acpi.c, made by Andrew M.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbattery.git



More information about the Pkg-wmaker-commits mailing list