diff options
Diffstat (limited to 'wm/icewm/patches/patch-ac')
-rw-r--r-- | wm/icewm/patches/patch-ac | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/wm/icewm/patches/patch-ac b/wm/icewm/patches/patch-ac index 148f98526f7..cd106ab6e7a 100644 --- a/wm/icewm/patches/patch-ac +++ b/wm/icewm/patches/patch-ac @@ -1,15 +1,13 @@ -$NetBSD: patch-ac,v 1.2 2002/02/26 09:41:40 martti Exp $ +$NetBSD: patch-ac,v 1.3 2003/06/03 16:04:45 jmmv Exp $ ---- src/aapm.h.orig Sun Dec 5 11:47:02 1999 -+++ src/aapm.h Mon Mar 6 22:20:48 2000 -@@ -3,6 +3,10 @@ +--- src/aapm.h.orig 2003-03-08 20:37:52.000000000 +0100 ++++ src/aapm.h +@@ -6,7 +6,7 @@ + #include "ywindow.h" #include "ytimer.h" - #ifdef CONFIG_APPLET_APM -+#if defined(__NetBSD__) -+#define APMDEV "/dev/apm" -+#endif -+ - class YApm: public YWindow, public YTimerListener { - public: - YApm(YWindow *aParent = 0); +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) + #define APMDEV "/dev/apm" + #else + #define APMDEV "/proc/apm" |