summaryrefslogtreecommitdiff
path: root/devel/glib20/files/patch-gio_xdgmime_xdgmime.c
blob: 8ff69079913b89959c4af499658622f8e784e5a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gio/xdgmime/xdgmime.c.orig	2020-12-17 11:47:11 UTC
+++ gio/xdgmime/xdgmime.c
@@ -235,7 +235,7 @@ xdg_init_dirs (void)
   xdg_data_dirs = getenv ("XDG_DATA_DIRS");
 
   if (xdg_data_dirs == NULL)
-    xdg_data_dirs = "/usr/local/share/:/usr/share/";
+    xdg_data_dirs = "%%LOCALBASE%%/share/";
 
   /* Work out how many dirs we’re dealing with. */
   if (xdg_data_home != NULL || home != NULL)