aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-11 22:18:03 +0800
committerkrion <krion@FreeBSD.org>2004-04-11 22:18:03 +0800
commit3acf1282b247e1f46257a72c2d33bd17c20fe7ab (patch)
treeb592b9d5bb6b67d5c81acaf5d8768ea137a99c70 /x11-wm
parent2a46aa829a67e6560fb07c2bad077584bc2f4ea1 (diff)
downloadfreebsd-ports-gnome-3acf1282b247e1f46257a72c2d33bd17c20fe7ab.tar.gz
freebsd-ports-gnome-3acf1282b247e1f46257a72c2d33bd17c20fe7ab.tar.zst
freebsd-ports-gnome-3acf1282b247e1f46257a72c2d33bd17c20fe7ab.zip
- Handle both submenus correctly case-insensitively
PR: ports/65434 Submitted by: maintainer
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/treewm/Makefile2
-rw-r--r--x11-wm/treewm/files/patch-resmanager.cc10
-rw-r--r--x11-wm/treewm/files/patch-uehandler.cc10
3 files changed, 21 insertions, 1 deletions
diff --git a/x11-wm/treewm/Makefile b/x11-wm/treewm/Makefile
index 6e64cc7a57ab..1d9efeb75a38 100644
--- a/x11-wm/treewm/Makefile
+++ b/x11-wm/treewm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= treewm
PORTVERSION= 0.4.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/x11-wm/treewm/files/patch-resmanager.cc b/x11-wm/treewm/files/patch-resmanager.cc
new file mode 100644
index 000000000000..2c06c0371687
--- /dev/null
+++ b/x11-wm/treewm/files/patch-resmanager.cc
@@ -0,0 +1,10 @@
+--- ../treewm-0.4.5.orig/src/resmanager.cc Mon Mar 8 00:20:42 2004
++++ src/resmanager.cc Mon Mar 8 00:40:02 2004
+@@ -127,6 +127,7 @@
+ for (int j=0; j!=mi->n; ++j) {
+ MenuItem &mitem = mi->menu[j];
+ if (mitem.key[0] == '$') {
++ lower(mitem.key);
+ MenuInfo *mi2 = (MenuInfo *)rman->GetInfo(SE_MENUINFO,mitem.key+1);
+ if (mi2) {
+ mitem.submenu = new SubMenuInfo;
diff --git a/x11-wm/treewm/files/patch-uehandler.cc b/x11-wm/treewm/files/patch-uehandler.cc
new file mode 100644
index 000000000000..1fe202174d3d
--- /dev/null
+++ b/x11-wm/treewm/files/patch-uehandler.cc
@@ -0,0 +1,10 @@
+--- ../treewm-0.4.5.orig/src/uehandler.cc Mon Mar 8 00:20:42 2004
++++ src/uehandler.cc Mon Mar 8 00:42:26 2004
+@@ -955,6 +955,7 @@
+ if (!ExecAll)
+ return false;
+ {
++ lower(str);
+ MenuInfo *mi = ((MenuInfo *)rman->GetInfo(SE_MENUINFO,str+1));
+ if (mi) {
+ int x,y;