diff options
Diffstat (limited to 'databases/shared-mime-info/patches/patch-aa')
-rw-r--r-- | databases/shared-mime-info/patches/patch-aa | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/shared-mime-info/patches/patch-aa b/databases/shared-mime-info/patches/patch-aa new file mode 100644 index 00000000000..7f51fb40e79 --- /dev/null +++ b/databases/shared-mime-info/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/02/14 19:06:08 jmmv Exp $ + +--- update-mime-database.c.orig 2003-10-13 11:43:38.000000000 +0200 ++++ update-mime-database.c +@@ -1330,7 +1330,7 @@ static void check_in_path_xdg_data(const + + env = getenv("XDG_DATA_DIRS"); + if (!env) +- env = "/usr/local/share/:/usr/share/"; ++ env = PREFIX "/share:/usr/local/share/:/usr/share/"; + dirs = g_strsplit(env, ":", 0); + g_return_if_fail(dirs != NULL); + for (n = 0; dirs[n]; n++) |