Lines 1-11
Link Here
|
1 |
--- glib/gutils.c.orig 2018-12-23 14:10:41.000000000 +0100 |
1 |
--- glib/gutils.c.orig 2020-12-17 11:47:11 UTC |
2 |
+++ glib/gutils.c 2018-12-27 00:18:23.471950000 +0100 |
2 |
+++ glib/gutils.c |
3 |
@@ -2219,7 +2219,7 @@ |
3 |
@@ -2500,7 +2500,7 @@ g_build_system_data_dirs (void) |
|
|
4 |
*/ |
5 |
#ifndef G_OS_WIN32 |
6 |
if (!data_dirs || !data_dirs[0]) |
7 |
- data_dirs = "/usr/local/share/:/usr/share/"; |
8 |
+ data_dirs = "%%LOCALBASE%%/share/:/usr/share/"; |
9 |
|
10 |
data_dir_vector = g_strsplit (data_dirs, G_SEARCHPATH_SEPARATOR_S, 0); |
11 |
#else |
12 |
@@ -2594,7 +2594,7 @@ g_build_system_config_dirs (void) |
4 |
} |
13 |
} |
5 |
#else |
14 |
#else |
6 |
if (!conf_dirs || !conf_dirs[0]) |
15 |
if (!conf_dirs || !conf_dirs[0]) |
7 |
- conf_dirs = "/etc/xdg"; |
16 |
- conf_dirs = "/etc/xdg"; |
8 |
+ conf_dirs = "/usr/local/etc/xdg:/etc/xdg"; |
17 |
+ conf_dirs = "%%LOCALBASE%%/etc/xdg:/etc/xdg"; |
9 |
|
18 |
|
10 |
conf_dir_vector = g_strsplit (conf_dirs, G_SEARCHPATH_SEPARATOR_S, 0); |
19 |
conf_dir_vector = g_strsplit (conf_dirs, G_SEARCHPATH_SEPARATOR_S, 0); |
11 |
#endif |
20 |
#endif |