openbsd-ports/misc/shared-mime-info/patches/patch-update-mime-database_c
jasper 9bcb77c0f4 oops, forgot to add this patch.
spotted by mikolaj
2007-09-13 18:07:32 +00:00

13 lines
535 B
Plaintext

$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++)