aboutsummaryrefslogtreecommitdiff
path: root/misc/shared-mime-info/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-06-26 03:28:37 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-06-26 03:28:37 +0000
commit93181c3dd70583aadb2a3f0d4ffa568b390a4622 (patch)
tree42987e3e2a4e9ccb8565682ae25c48d8517d62e4 /misc/shared-mime-info/files
parent450c885cbe8bfb12fa1741f76f2521b12e5369d7 (diff)
downloadports-93181c3dd70583aadb2a3f0d4ffa568b390a4622.tar.gz
ports-93181c3dd70583aadb2a3f0d4ffa568b390a4622.zip
Notes
Diffstat (limited to 'misc/shared-mime-info/files')
-rw-r--r--misc/shared-mime-info/files/patch-update-mime-database.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/misc/shared-mime-info/files/patch-update-mime-database.c b/misc/shared-mime-info/files/patch-update-mime-database.c
index 31465c2972e8..b7f0459abec4 100644
--- a/misc/shared-mime-info/files/patch-update-mime-database.c
+++ b/misc/shared-mime-info/files/patch-update-mime-database.c
@@ -1,5 +1,5 @@
---- update-mime-database.c.orig Mon Oct 13 11:43:38 2003
-+++ update-mime-database.c Mon Apr 12 22:45:01 2004
+--- update-mime-database.c.orig Mon Oct 13 05:43:38 2003
++++ update-mime-database.c Wed Jun 23 20:13:10 2004
@@ -377,7 +377,8 @@
}
}
@@ -10,3 +10,12 @@
}
/* 'node' is a <mime-type> node from a source file, whose type is 'type'.
+@@ -1330,7 +1331,7 @@
+
+ env = getenv("XDG_DATA_DIRS");
+ if (!env)
+- env = "/usr/local/share/:/usr/share/";
++ env = "/usr/local/share/:%%X11BASE%%/share/:/usr/share/";
+ dirs = g_strsplit(env, ":", 0);
+ g_return_if_fail(dirs != NULL);
+ for (n = 0; dirs[n]; n++)