diff options
Diffstat (limited to 'sysutils/gnome-vfs2/patches/patch-as')
-rw-r--r-- | sysutils/gnome-vfs2/patches/patch-as | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/gnome-vfs2/patches/patch-as b/sysutils/gnome-vfs2/patches/patch-as new file mode 100644 index 00000000000..f844e909c9e --- /dev/null +++ b/sysutils/gnome-vfs2/patches/patch-as @@ -0,0 +1,22 @@ +$NetBSD: patch-as,v 1.1 2005/01/11 12:32:53 jmmv Exp $ + +--- libgnomevfs/eggdirfuncs.c.orig 2004-07-22 05:54:52.000000000 +0200 ++++ libgnomevfs/eggdirfuncs.c +@@ -106,7 +106,7 @@ egg_get_secondary_data_dirs (void) + 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, ":", 0); + +@@ -132,7 +132,7 @@ egg_get_secondary_configuration_dirs (vo + 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, ":", 0); + |