[Pkg-wmaker-commits] [wmbattery] 123/241: use acpi_new with 3.2.0

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 23:37:45 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 2f5a706d7ad1e2ab7459ae1b0e9b5b182e5f4c94
Author: Joey Hess <joey at kitenet.net>
Date:   Tue Apr 30 21:57:08 2013 -0400

    use acpi_new with 3.2.0
    
    This has working power supply info, but not battery charge status.
    It's better than segfaulting, though.
---
 acpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/acpi.c b/acpi.c
index fd45271..dede5f8 100644
--- a/acpi.c
+++ b/acpi.c
@@ -312,7 +312,7 @@ int acpi_supported (void) {
 				version, ACPI_VERSION);
 		return 0;
 	}
-	else if (num >= 20120111) {
+	else if (num >= 20110623) {
 	        acpi_labels = acpi_labels_new;
 	}
 	else if (num >= 20020214) {

-- 
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