From b6072f38b41e344d9dc4373131cf60e022f81620 Mon Sep 17 00:00:00 2001 From: kmoore Date: Fri, 9 Mar 2012 18:01:15 +0000 Subject: - Update patch to fix issue with LXDE menu refreshing - Bump PORTREVISION Feature safe: yes --- x11/menu-cache/Makefile | 2 +- x11/menu-cache/files/patch-menu-cached.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'x11/menu-cache') 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; -- cgit