summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorKris Moore <kmoore@FreeBSD.org>2012-03-09 18:01:15 +0000
committerKris Moore <kmoore@FreeBSD.org>2012-03-09 18:01:15 +0000
commit90485c98d3337b3cda2fc8fbe3d13b4e6555f814 (patch)
treecd76586064f2e66c141500bb21b1a067bb7f3d9c /x11
parentUnbreak devel/avr-gcc: (diff)
- Update patch to fix issue with LXDE menu refreshing
- Bump PORTREVISION Feature safe: yes
Notes
Notes: svn path=/head/; revision=293018
Diffstat (limited to 'x11')
-rw-r--r--x11/menu-cache/Makefile2
-rw-r--r--x11/menu-cache/files/patch-menu-cached.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/x11/menu-cache/Makefile b/x11/menu-cache/Makefile
index 04054bdb4b42..a50363b83472 100644
--- a/x11/menu-cache/Makefile
+++ b/x11/menu-cache/Makefile
@@ -7,7 +7,7 @@
PORTNAME= menu-cache
PORTVERSION= 0.3.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= SF/lxde/menu-cache/menu-cache%20${PORTVERSION}/
diff --git a/x11/menu-cache/files/patch-menu-cached.c b/x11/menu-cache/files/patch-menu-cached.c
index c70d4d966117..0c191f996116 100644
--- a/x11/menu-cache/files/patch-menu-cached.c
+++ b/x11/menu-cache/files/patch-menu-cached.c
@@ -20,7 +20,7 @@
+ char* dir_path = cache->files[idx]+1;
+ int len = strlen(dir_path);
+ char* base_name = changed_file + len + 1;
-+ gboolean in_cache = is_desktop_file_in_cache(cache, idx, base_name);
++ gboolean in_cache = is_desktop_file_in_cache(cache, idx, g_file_get_path(gf));
+ if( ! in_cache ) { /* Means this file was already deleted, no need to refresh cache */
+ DEBUG("files are changed, but no re-generation is needed.");
+ return;