Files
pkgsrc-ng/devel/glib2/patches/patch-ah
2014-11-05 12:41:07 +01:00

23 lines
802 B
Plaintext

$NetBSD: patch-ah,v 1.12 2013/12/08 13:08:59 prlw1 Exp $
--- glib/gutils.c.orig 2013-04-15 21:27:24.000000000 +0000
+++ glib/gutils.c
@@ -2008,7 +2008,7 @@ g_get_system_data_dirs (void)
gchar *data_dirs = (gchar *) g_getenv ("XDG_DATA_DIRS");
if (!data_dirs || !data_dirs[0])
- data_dirs = "/usr/local/share/:/usr/share/";
+ data_dirs = PREFIX "/share/";
data_dir_vector = g_strsplit (data_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
#endif
@@ -2070,7 +2070,7 @@ g_get_system_config_dirs (void)
conf_dirs = (gchar *) g_getenv ("XDG_CONFIG_DIRS");
if (!conf_dirs || !conf_dirs[0])
- conf_dirs = "/etc/xdg";
+ conf_dirs = PKG_SYSCONFDIR "/xdg";
conf_dir_vector = g_strsplit (conf_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
#endif