summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c')
-rw-r--r--x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c b/x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c
new file mode 100644
index 000000000..b39aaedd0
--- /dev/null
+++ b/x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c
@@ -0,0 +1,11 @@
+--- gtk/xdgmime/xdgmime.c.orig Mon Nov 8 22:25:27 2004
++++ gtk/xdgmime/xdgmime.c Sat Nov 13 10:27:22 2004
+@@ -204,7 +204,7 @@
+
+ xdg_data_dirs = getenv ("XDG_DATA_DIRS");
+ if (xdg_data_dirs == NULL)
+- xdg_data_dirs = "/usr/local/share/:/usr/share/";
++ xdg_data_dirs = "%%X11BASE%%/share/gnome/:/usr/local/share/gnome/:%%X11BASE%%/share/:/usr/local/share/:/usr/share/";
+
+ ptr = xdg_data_dirs;
+