Subject: CVS commit: pkgsrc/sysutils/xbattbar
To: None <>
From: matthew green <>
List: pkgsrc-changes
Date: 11/05/2003 07:26:05
Module Name:	pkgsrc
Committed By:	mrg
Date:		Wed Nov  5 07:26:04 UTC 2003

Modified Files:
	pkgsrc/sysutils/xbattbar: distinfo
	pkgsrc/sysutils/xbattbar/patches: patch-ab

Log Message:
revert part of the previous set of changes:  acpiacad is broken on some
machines so we can't use that to detect ac-power.  for now, revert to what
we were doing before.

XXX perhaps acpiacad should be used if it exists, and if it doesn't fall
XXX back to using "acpibat.*discharging".  then people with broken acpiacad
XXX can simply not include that driver in their kernel, but worry about
XXX that again after pkgsrc freeze.

also, check __NetBSD_Version__ to see when various envsys(4) API changes
occured, and avoid using new methods on old systems. this should fix PR#23355.

To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 pkgsrc/sysutils/xbattbar/distinfo
cvs rdiff -r1.4 -r1.5 pkgsrc/sysutils/xbattbar/patches/patch-ab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.