diff options
author | wiz <wiz> | 2001-11-26 20:07:34 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-11-26 20:07:34 +0000 |
commit | 31f21910686f07acfeff839d41209a9746033d60 (patch) | |
tree | db6714ff38f5a5b2f2214f9955ffc94970410571 /sysutils/xbattbar/patches/patch-ab | |
parent | 599ae2db3b1ee0dd629483cf5f690f06d504a76c (diff) | |
download | pkgsrc-31f21910686f07acfeff839d41209a9746033d60.tar.gz |
Add 'new' NetBSD-apm support, based on patch from Love in pkg/14554.
Bump version to 1.4.2nb1.
Diffstat (limited to 'sysutils/xbattbar/patches/patch-ab')
-rw-r--r-- | sysutils/xbattbar/patches/patch-ab | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/xbattbar/patches/patch-ab b/sysutils/xbattbar/patches/patch-ab new file mode 100644 index 00000000000..2937fb2d890 --- /dev/null +++ b/sysutils/xbattbar/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2001/11/26 20:07:35 wiz Exp $ + +--- xbattbar.c.orig Fri Feb 2 06:25:29 2001 ++++ xbattbar.c +@@ -594,6 +594,7 @@ + exit(1); + } + ++ memset(&info, 0, sizeof(info)); + if (ioctl(fd, APM_IOC_GETPOWER, &info) != 0) { + fprintf(stderr, "xbattbar: ioctl APM_IOC_GETPOWER failed\n"); + exit(1); |