summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk30
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-08-04 18:33:45 +0000
committermarcus <marcus@FreeBSD.org>2004-08-04 18:33:45 +0000
commitd29d2613e421d23a7bb48fc2dc0c47644bd2e788 (patch)
tree588cfb700513a751382db0df2a8e87a46ccaf020 /x11-toolkits/gtk30
parentfb0a62d8f1db4c0e5ce654d62c618ff2f0a924d8 (diff)
downloadFreeBSD-ports-d29d2613e421d23a7bb48fc2dc0c47644bd2e788.zip
FreeBSD-ports-d29d2613e421d23a7bb48fc2dc0c47644bd2e788.tar.gz
Sync the MIME search directories from gnome-vfs. This fixes some
prioritization issues with custom MIME types.
Diffstat (limited to 'x11-toolkits/gtk30')
-rw-r--r--x11-toolkits/gtk30/Makefile1
-rw-r--r--x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index 7352df7..9245bc7 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gtk
PORTVERSION= 2.4.4
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.4,} \
ftp://ftp.gtk.org/pub/gtk/v2.3/ \
diff --git a/x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c b/x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c
index 14804bd..76c5eea 100644
--- a/x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c
+++ b/x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c
@@ -5,7 +5,7 @@
xdg_data_dirs = getenv ("XDG_DATA_DIRS");
if (xdg_data_dirs == NULL)
- xdg_data_dirs = "/usr/local/share/:/usr/share/";
-+ xdg_data_dirs = "/usr/local/share/:%%X11BASE%%/share/:/usr/share/";
++ xdg_data_dirs = "%%X11BASE%%/share/gnome/:/usr/local/share/gnome/:%%X11BASE%%/share/:/usr/local/share/:/usr/share/";
ptr = xdg_data_dirs;
OpenPOWER on IntegriCloud