aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libfm
diff options
context:
space:
mode:
authorkmoore <kmoore@FreeBSD.org>2011-09-20 00:05:28 +0800
committerkmoore <kmoore@FreeBSD.org>2011-09-20 00:05:28 +0800
commit4b49d5b2ec2ca17c3a9614be5747a01750de88d9 (patch)
tree743e688bdf2103d7020522be81e61262f3169706 /x11/libfm
parentb5f7bcd50d01cb1569bbbd3e4759f8a7a013126a (diff)
downloadfreebsd-ports-gnome-4b49d5b2ec2ca17c3a9614be5747a01750de88d9.tar.gz
freebsd-ports-gnome-4b49d5b2ec2ca17c3a9614be5747a01750de88d9.tar.zst
freebsd-ports-gnome-4b49d5b2ec2ca17c3a9614be5747a01750de88d9.zip
- Add patch which fixes crash using "OpenWith" menus of pcmanfm
- Bump PORTREV
Diffstat (limited to 'x11/libfm')
-rw-r--r--x11/libfm/Makefile1
-rw-r--r--x11/libfm/files/patch-src_gtk_fm-app-menu-view.c12
2 files changed, 13 insertions, 0 deletions
diff --git a/x11/libfm/Makefile b/x11/libfm/Makefile
index 4e89936cd224..49eb62579a22 100644
--- a/x11/libfm/Makefile
+++ b/x11/libfm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libfm
PORTVERSION= 0.1.16
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= SF/pcmanfm/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/libfm%20%28required%20by%20PCManFM%29/
diff --git a/x11/libfm/files/patch-src_gtk_fm-app-menu-view.c b/x11/libfm/files/patch-src_gtk_fm-app-menu-view.c
new file mode 100644
index 000000000000..3c889d6b59f0
--- /dev/null
+++ b/x11/libfm/files/patch-src_gtk_fm-app-menu-view.c
@@ -0,0 +1,12 @@
+--- src/gtk/fm-app-menu-view.c.o 2011-09-19 11:53:52.000000000 -0400
++++ src/gtk/fm-app-menu-view.c 2011-09-19 11:54:35.000000000 -0400
+@@ -136,7 +136,8 @@
+ oldenv = g_strdup(g_getenv("XDG_MENU_PREFIX"));
+ g_setenv("XDG_MENU_PREFIX", "lxde-", TRUE);
+ menu_cache = menu_cache_lookup("applications.menu");
+- g_setenv("XDG_MENU_PREFIX", oldenv, TRUE);
++ // Causing crashes when using "OpenWith" menus
++ //g_setenv("XDG_MENU_PREFIX", oldenv, TRUE);
+ g_free(oldenv);
+
+ if(menu_cache)