aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-06-05 02:02:35 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-06-05 02:02:35 +0000
commit5df7cf1402e33fcff688b665fb4c37cb4583ddd4 (patch)
tree90a36dfca4489a08b4ae48f481b944fe90e9b82b /x11-wm
parent95ef561a02f617d10014d1a7f1b321e2cc46e7cb (diff)
downloadports-5df7cf1402e33fcff688b665fb4c37cb4583ddd4.tar.gz
ports-5df7cf1402e33fcff688b665fb4c37cb4583ddd4.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/icewm/Makefile2
-rw-r--r--x11-wm/icewm/files/patch-src_aapm.cc11
2 files changed, 12 insertions, 1 deletions
diff --git a/x11-wm/icewm/Makefile b/x11-wm/icewm/Makefile
index e4968f624049..59ffb1c3ba72 100644
--- a/x11-wm/icewm/Makefile
+++ b/x11-wm/icewm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= icewm
PORTVERSION= 1.2.30
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-wm
MASTER_SITES= SF
diff --git a/x11-wm/icewm/files/patch-src_aapm.cc b/x11-wm/icewm/files/patch-src_aapm.cc
new file mode 100644
index 000000000000..9ea7259be9a9
--- /dev/null
+++ b/x11-wm/icewm/files/patch-src_aapm.cc
@@ -0,0 +1,11 @@
+--- src/aapm.cc.orig 2006/12/24 15:56:15 1.18.2.3
++++ src/aapm.cc 2007/04/22 16:38:49 1.18.2.4
+@@ -632,7 +632,7 @@
+
+ //estimate applet's size
+ for (i = 0; i < batteryNum; i++) {
+- if (acpiBatteries[i]->present == BAT_ABSENT)
++ if (mode == ACPI && acpiBatteries[i]->present == BAT_ABSENT)
+ continue;
+ if (taskBarShowApmTime)
+ strcat(buf, "0:00");