aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c')
-rw-r--r--x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c b/x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c
new file mode 100644
index 000000000000..14804bd2e143
--- /dev/null
+++ b/x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmime.c
@@ -0,0 +1,11 @@
+--- gtk/xdgmime/xdgmime.c.orig Wed Jun 23 20:19:43 2004
++++ gtk/xdgmime/xdgmime.c Wed Jun 23 20:19:56 2004
+@@ -98,7 +98,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/";
+
+ ptr = xdg_data_dirs;
+