pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/asapm Fixed state of the ac online, it was re...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dd6366b406b5
branches: trunk
changeset: 476408:dd6366b406b5
user: kivinen <kivinen%pkgsrc.org@localhost>
date: Wed Jun 09 22:22:09 2004 +0000
description:
Fixed state of the ac online, it was reversed.
diffstat:
sysutils/asapm/distinfo | 4 ++--
sysutils/asapm/patches/patch-af | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r 240579db981e -r dd6366b406b5 sysutils/asapm/distinfo
--- a/sysutils/asapm/distinfo Wed Jun 09 22:15:41 2004 +0000
+++ b/sysutils/asapm/distinfo Wed Jun 09 22:22:09 2004 +0000
@@ -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-ac) = edfe7deae628b9e2aa57b67666f4e7dea13c19bf
SHA1 (patch-ad) = f6a82aa2cff611f03e999a0773f8b47156b9550f
SHA1 (patch-ae) = 28b0e4c446c466a90d4a2ae0952b2326385a8c6c
-SHA1 (patch-af) = ff8256e82e79155708b61fab3f04323c68e8d26d
+SHA1 (patch-af) = 74a344768c237505c3bd63d757fd6aeac8b46f2a
diff -r 240579db981e -r dd6366b406b5 sysutils/asapm/patches/patch-af
--- a/sysutils/asapm/patches/patch-af Wed Jun 09 22:15:41 2004 +0000
+++ b/sysutils/asapm/patches/patch-af Wed Jun 09 22:22:09 2004 +0000
@@ -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 @@
+ }
+
+ 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;
Home |
Main Index |
Thread Index |
Old Index