oops, forgot to add this patch.
spotted by mikolaj
This commit is contained in:
parent
6636996bde
commit
9bcb77c0f4
12
misc/shared-mime-info/patches/patch-update-mime-database_c
Normal file
12
misc/shared-mime-info/patches/patch-update-mime-database_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-update-mime-database_c,v 1.1 2007/09/13 18:07:32 jasper Exp $
|
||||
--- update-mime-database.c.orig Wed Jun 27 20:46:53 2007
|
||||
+++ update-mime-database.c Mon Sep 10 22:40:37 2007
|
||||
@@ -1510,7 +1510,7 @@ static void check_in_path_xdg_data(const char *mime_pa
|
||||
|
||||
env = getenv("XDG_DATA_DIRS");
|
||||
if (!env)
|
||||
- env = "/usr/local/share/"PATH_SEPARATOR"/usr/share/";
|
||||
+ env = "/usr/local/share/"PATH_SEPARATOR"/var/db/gnome/";
|
||||
dirs = g_strsplit(env, PATH_SEPARATOR, 0);
|
||||
g_return_if_fail(dirs != NULL);
|
||||
for (n = 0; dirs[n]; n++)
|
Loading…
Reference in New Issue
Block a user