Battery meter support.

Thanks to mpech@ for testing.
This commit is contained in:
form 2002-06-13 02:54:58 +00:00
parent 9aa2c788b5
commit 8e8feccbec
2 changed files with 19 additions and 7 deletions

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure,v 1.3 2002/03/18 06:51:24 form Exp $
--- configure.orig Fri Mar 15 08:28:14 2002
+++ configure Fri Mar 15 08:32:59 2002
@@ -1869,20 +1869,63 @@ EOF
$OpenBSD: patch-configure,v 1.4 2002/06/13 02:54:58 form Exp $
--- configure.orig Mon Feb 25 05:05:05 2002
+++ configure Thu Jun 6 13:39:14 2002
@@ -1869,20 +1869,66 @@ EOF
host_dir=bsd
host_os=freebsd ;;
@ -51,10 +51,13 @@ $OpenBSD: patch-configure,v 1.3 2002/03/18 06:51:24 form Exp $
EXTRALIBS="-lkvm $XPMLIB"
INSTALL_ARGS='-s -g kmem -m 02555'
NetMeter_Default_Setting=True
+ BTRYMETER=btrymeter.o
cat >> confdefs.h <<\EOF
#define XOSVIEW_OPENBSD 1
+#define HAVE_SWAPCTL 1
+#define UVM 1
+#define HAVE_BATTERY_METER 1
+#define APM_BATT_ABSENT APM_BATTERY_ABSENT
EOF
-
-

View File

@ -1,12 +1,21 @@
$OpenBSD: patch-xosview_1,v 1.2 2002/03/18 06:51:24 form Exp $
$OpenBSD: patch-xosview_1,v 1.3 2002/06/13 02:54:58 form Exp $
--- xosview.1.orig Mon Feb 25 04:55:19 2002
+++ xosview.1 Mon Mar 18 12:20:41 2002
+++ xosview.1 Wed Jun 12 19:48:31 2002
@@ -185,7 +185,7 @@ an abbreviation for all three of the fre
Linux : %left | %used
NetBSD : %left | %used
FreeBSD: < Not Supported >
- OpenBSD: < Not Supported >
+ OpenBSD: %left | %used
HPUX : < Not Supported >
\fBRAID status\fP
@@ -959,7 +959,7 @@ David W. Talmage (talmage@jefferson.cmf.
Added battery-meter support to NetBSD.
.RE
-Oleg Safiullin (form@vs.itam.nsc.ru)
+Oleg Safiullin (form@openbsd.ru)
+Oleg Safiullin (form@openbsd.org)
.RS
OpenBSD interrupt-meter support.
.RE