summaryrefslogtreecommitdiff
path: root/x11-wm/fvwm95
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2002-09-09 17:31:11 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2002-09-09 17:31:11 +0000
commit60f616e159b9e1413491c2c5af55463e4eb393d4 (patch)
tree9c8f3d7e0a093bea6722308f03a9b6b38cdfa657 /x11-wm/fvwm95
parent- USE_GNOMENG (diff)
Fix a bug which prevents fvwm95 from displaying a mail-notification
icon if one tries to use a mailbox other than the default one. Submitted by: Dmitry Sagalovskiy <dsagal@runningwave.com>
Notes
Notes: svn path=/head/; revision=65926
Diffstat (limited to 'x11-wm/fvwm95')
-rw-r--r--x11-wm/fvwm95/Makefile1
-rw-r--r--x11-wm/fvwm95/files/patch-modules-FvwmTaskBar-Goodies.c13
2 files changed, 14 insertions, 0 deletions
diff --git a/x11-wm/fvwm95/Makefile b/x11-wm/fvwm95/Makefile
index c2a8bc9d8e39..354224aa5e3c 100644
--- a/x11-wm/fvwm95/Makefile
+++ b/x11-wm/fvwm95/Makefile
@@ -7,6 +7,7 @@
PORTNAME= fvwm95
PORTVERSION= 2.0.43a
+PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://ftp.yars.free.net/pub/software/unix/platforms/linux/x/fvwm95/ \
http://ftp.cc.ntut.edu.tw/ftp/Xwindow/xfree86/Linux/wm/fvwm-95/
diff --git a/x11-wm/fvwm95/files/patch-modules-FvwmTaskBar-Goodies.c b/x11-wm/fvwm95/files/patch-modules-FvwmTaskBar-Goodies.c
new file mode 100644
index 000000000000..45cf038f553e
--- /dev/null
+++ b/x11-wm/fvwm95/files/patch-modules-FvwmTaskBar-Goodies.c
@@ -0,0 +1,13 @@
+--- modules/FvwmTaskBar/Goodies.c.orig Mon Sep 9 21:27:48 2002
++++ modules/FvwmTaskBar/Goodies.c Mon Sep 9 21:28:44 2002
+@@ -64,7 +64,9 @@
+ if (strcasecmp(&tline[Clength+8], "None") == 0) {
+ NoMailCheck = True;
+ } else {
+- UpdateString(&mailpath, &tline[Clength+11]);
++ /* UpdateString doesn't string spaces or newlines (and +11 is wrong) */
++ /* UpdateString(&mailpath, &tline[Clength+11]); */
++ CopyString(&mailpath, &tline[Clength+8]);
+ }
+ } else if(strncasecmp(tline,CatString3(Module, "ClockFormat",""),
+ Clength+11)==0) {