aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/icewm/files/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/icewm/files/patch-ai')
-rw-r--r--x11-wm/icewm/files/patch-ai18
1 files changed, 15 insertions, 3 deletions
diff --git a/x11-wm/icewm/files/patch-ai b/x11-wm/icewm/files/patch-ai
index aace03d5b209..f2a895e61cfe 100644
--- a/x11-wm/icewm/files/patch-ai
+++ b/x11-wm/icewm/files/patch-ai
@@ -1,6 +1,6 @@
---- src/wmtaskbar.cc.orig Sun May 23 00:57:11 1999
-+++ src/wmtaskbar.cc Sun May 23 00:57:25 1999
-@@ -331,9 +331,9 @@
+--- src/wmtaskbar.cc.orig Wed Dec 1 16:46:05 1999
++++ src/wmtaskbar.cc Wed Dec 1 16:46:15 1999
+@@ -72,9 +72,9 @@
/** Use Linux 2.0 Penguin as start button */
#ifndef START_PIXMAP
@@ -12,3 +12,15 @@
//#define START_PIXMAP "start.xpm"
//#define START_PIXMAP "xfree86os2.xpm"
#endif
+@@ -253,7 +253,11 @@
+ } else
+ fClock = 0;
+ #ifdef CONFIG_APM
++#ifdef __FreeBSD__
++ if (taskBarShowApm && access("/dev/apm", 0) == 0) {
++#else
+ if (taskBarShowApm && access("/proc/apm", 0) == 0) {
++#endif
+ fApm = new YApm(this);
+ if (fApm->height() + ADD1 > ht) ht = fApm->height() + ADD1;
+ } else