openbsd-ports/devel/glib2/patches/patch-glib_gutils_c
jasper cb81475a81 fix wrong and hardcoded paths.
from Mikolaj Kucharski <mikolaj.kucharski@gmail.com>

ok martynas@ naddy@
2007-04-24 18:21:14 +00:00

13 lines
521 B
Plaintext

$OpenBSD: patch-glib_gutils_c,v 1.1 2007/04/24 18:21:14 jasper Exp $
--- glib/gutils.c.orig Thu Jul 6 14:30:16 2006
+++ glib/gutils.c Thu Dec 21 14:07:45 2006
@@ -2489,7 +2489,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 = "/var/db/gnome/:/usr/local/share/";
data_dir_vector = g_strsplit (data_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
#endif