13 lines
516 B
Text
13 lines
516 B
Text
$NetBSD: patch-aa,v 1.4 2008/06/23 15:58:05 drochner Exp $
|
|
|
|
--- update-mime-database.c.orig 2007-06-27 21:46:53.000000000 +0200
|
|
+++ update-mime-database.c
|
|
@@ -1510,7 +1510,7 @@ static void check_in_path_xdg_data(const
|
|
|
|
env = getenv("XDG_DATA_DIRS");
|
|
if (!env)
|
|
- env = "/usr/local/share/"PATH_SEPARATOR"/usr/share/";
|
|
+ env = PREFIX "/share/"PATH_SEPARATOR"/usr/local/share/"PATH_SEPARATOR"/usr/share/";
|
|
dirs = g_strsplit(env, PATH_SEPARATOR, 0);
|
|
g_return_if_fail(dirs != NULL);
|
|
for (n = 0; dirs[n]; n++)
|