Changeset View
Changeset View
Standalone View
Standalone View
devel/glib20/files/patch-gio_xdgmime_xdgmime.c
--- gio/xdgmime/xdgmime.c.orig Mon Nov 8 22:25:27 2004 | --- gio/xdgmime/xdgmime.c.orig 2020-05-20 10:46:43 UTC | ||||
+++ gio/xdgmime/xdgmime.c Sat Nov 13 10:27:22 2004 | +++ gio/xdgmime/xdgmime.c | ||||
@@ -204,7 +204,7 @@ | @@ -235,7 +235,7 @@ xdg_init_dirs (void) | ||||
xdg_data_dirs = getenv ("XDG_DATA_DIRS"); | xdg_data_dirs = getenv ("XDG_DATA_DIRS"); | ||||
if (xdg_data_dirs == NULL) | if (xdg_data_dirs == NULL) | ||||
- xdg_data_dirs = "/usr/local/share/:/usr/share/"; | - xdg_data_dirs = "/usr/local/share/:/usr/share/"; | ||||
+ xdg_data_dirs = "/usr/local/share/"; | + xdg_data_dirs = "%%LOCALBASE%%/share/:/usr/share/"; | ||||
ptr = xdg_data_dirs; | /* Work out how many dirs we’re dealing with. */ | ||||
if (xdg_data_home != NULL || home != NULL) |