3cd989bc63
bapm is an APM meter for Blackbox, which shows the battery status of your laptop in a decorated window, simulating the look of the Blackbox toolbar. bbapm is based on bbsload. This package is based on the FreeBSD port and the OpenBSD patches posted to http://bbtools.windsofstorm.net written by Michael Henson (mike at axl dot net). Various changes by yours truly.
18 lines
350 B
Text
18 lines
350 B
Text
$NetBSD: patch-ai,v 1.1.1.1 2002/09/07 20:22:53 jschauma Exp $
|
|
|
|
--- bbapm.hh.orig Sat Sep 7 14:05:10 2002
|
|
+++ bbapm.hh Sat Sep 7 14:06:15 2002
|
|
@@ -21,9 +21,13 @@
|
|
#ifndef __MAIN_HH
|
|
#define __MAIN_HH
|
|
|
|
+#if defined(__NetBSD__)
|
|
+#include "net_apm.h"
|
|
+#else
|
|
extern "C" {
|
|
#include <apm.h>
|
|
}
|
|
+#endif
|
|
|
|
#include "Image.hh"
|
|
#include "Basewindow.hh"
|