summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorkivinen <kivinen@pkgsrc.org>2004-06-09 22:22:09 +0000
committerkivinen <kivinen@pkgsrc.org>2004-06-09 22:22:09 +0000
commitc6aa165b4ef961036c07a533084f58ed512a6c04 (patch)
tree43c3158061ccd19281ed7d54c841f4682eaef115 /sysutils
parente5dbcfd4fd346608bfe1fe0ce48786d2692deed5 (diff)
downloadpkgsrc-c6aa165b4ef961036c07a533084f58ed512a6c04.tar.gz
Fixed state of the ac online, it was reversed.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/asapm/distinfo4
-rw-r--r--sysutils/asapm/patches/patch-af4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/asapm/distinfo b/sysutils/asapm/distinfo
index c66245f4361..19868008bea 100644
--- a/sysutils/asapm/distinfo
+++ b/sysutils/asapm/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2004/06/09 22:15:41 kivinen Exp $
+$NetBSD: distinfo,v 1.7 2004/06/09 22:22:09 kivinen Exp $
SHA1 (asapm-2.11.tar.gz) = cd89c5557d76dbb19ee565435b533ab48f05f102
Size (asapm-2.11.tar.gz) = 58729 bytes
@@ -7,4 +7,4 @@ SHA1 (patch-ab) = 8796f1f6220ecdbd23d360bb18f721e1ef83febf
SHA1 (patch-ac) = edfe7deae628b9e2aa57b67666f4e7dea13c19bf
SHA1 (patch-ad) = f6a82aa2cff611f03e999a0773f8b47156b9550f
SHA1 (patch-ae) = 28b0e4c446c466a90d4a2ae0952b2326385a8c6c
-SHA1 (patch-af) = ff8256e82e79155708b61fab3f04323c68e8d26d
+SHA1 (patch-af) = 74a344768c237505c3bd63d757fd6aeac8b46f2a
diff --git a/sysutils/asapm/patches/patch-af b/sysutils/asapm/patches/patch-af
index 6fe3850a4a1..8f816971ec2 100644
--- a/sysutils/asapm/patches/patch-af
+++ b/sysutils/asapm/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.2 2004/06/09 22:15:41 kivinen Exp $
+$NetBSD: patch-af,v 1.3 2004/06/09 22:22:09 kivinen Exp $
--- apm_read.c.orig 2001-11-23 23:07:19.000000000 +0200
+++ apm_read.c
@@ -102,7 +102,7 @@ $NetBSD: patch-af,v 1.2 2004/06/09 22:15:41 kivinen Exp $
+ }
+
+ if (state.ac_line_status != connected) {
-+ state.ac_line_status = connected ? AC_BATTERY : AC_ONLINE;
++ state.ac_line_status = connected ? AC_ONLINE : AC_BATTERY;
+ ++state.update;
+ if ( state.ac_line_status == AC_ONLINE )
+ state.flags |= CHANGE_AC_ON;