From 9bcb77c0f47fea8836e05ed985fbd0c98311fe2e Mon Sep 17 00:00:00 2001 From: jasper Date: Thu, 13 Sep 2007 18:07:32 +0000 Subject: [PATCH] oops, forgot to add this patch. spotted by mikolaj --- .../patches/patch-update-mime-database_c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 misc/shared-mime-info/patches/patch-update-mime-database_c diff --git a/misc/shared-mime-info/patches/patch-update-mime-database_c b/misc/shared-mime-info/patches/patch-update-mime-database_c new file mode 100644 index 00000000000..e939406162b --- /dev/null +++ b/misc/shared-mime-info/patches/patch-update-mime-database_c @@ -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++)