summaryrefslogtreecommitdiff
path: root/wm/icewm/patches
diff options
context:
space:
mode:
authorhauke <hauke@pkgsrc.org>2008-06-17 08:32:41 +0000
committerhauke <hauke@pkgsrc.org>2008-06-17 08:32:41 +0000
commit7518e13839f57db7a473ce7691c55c4815d5fa6a (patch)
tree495e53d864b53fd23f0e3998adb4bb19d31a2420 /wm/icewm/patches
parent15eea55fff326e01d6d84c6ace0f09790aa98521 (diff)
downloadpkgsrc-7518e13839f57db7a473ce7691c55c4815d5fa6a.tar.gz
Un-break start icon patch for non-*BSD platforms.
Diffstat (limited to 'wm/icewm/patches')
-rw-r--r--wm/icewm/patches/patch-ak10
1 files changed, 6 insertions, 4 deletions
diff --git a/wm/icewm/patches/patch-ak b/wm/icewm/patches/patch-ak
index 3a9fae03a89..d29f60ab6f7 100644
--- a/wm/icewm/patches/patch-ak
+++ b/wm/icewm/patches/patch-ak
@@ -1,15 +1,17 @@
-$NetBSD: patch-ak,v 1.3 2008/06/16 14:55:03 hauke Exp $
+$NetBSD: patch-ak,v 1.4 2008/06/17 08:32:41 hauke Exp $
--- src/wmtaskbar.cc.orig 2008-01-05 08:34:24.000000000 +0100
+++ src/wmtaskbar.cc
-@@ -81,7 +81,10 @@ static void initPixmaps() {
+@@ -81,7 +81,12 @@ static void initPixmaps() {
* filename. This will be unified and be a forced standard in
* icewm-2
*/
- startImage = themedirs.loadImage(base, "start.xpm");
-+ /* pkgsrc *BSD: Try Beastie first */
-+ startImage = subdirs.loadImage(base, START_PIXMAP);
++#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
++ /* pkgsrc on *BSD: Try Beastie first */
++ startImage = subdirs.loadImage(base, "bsd-daemon.xpm");
+ if (startImage == null || !startImage->valid())
++#endif
+ startImage = themedirs.loadImage(base, "start.xpm");
if (startImage == null || !startImage->valid())
startImage = themedirs.loadImage(base, "linux.xpm");