pkgsrc/databases/shared-mime-info/patches/patch-aa
wiz 43406039b4 Update to 1.3:
shared-mime-info 1.3 (2014-04-08)
* Mime-type changes:
- Add Aliases for OpenOffice Base and StarWriter
- Add Apple Keynote 5 mime-type
- Add mimetype for compressed FictionBook2
- Don't recognize all .asc files as application/pgp-encrypted
- Add tree magic for the Kindle e-book reader
- Add LZ4 archive type
- Add PC Engine, GameCube and Wii "ROM" types
- Add audio/x-opus+ogg mime-type
- Add image/webp mime-type
- Prefer application/vnd.ms-asf to video/x-ms-asf
- Add application/x-riff mime-type
- Add JSON mime-type
- Add *.jsm glob for Javascript
- Add magic and glob patterns for compressed x-spss-sav files
- JavaScript and CSS are not subclasses of text/x-csrc
- Remove *.CSSL glob for CSS files

* Call g_type_init() only with older glib
* Fix failures on NetBSD
* Store MEDIA/SUBTYPE.xml files in lowercase
2014-04-25 08:53:21 +00:00

15 lines
536 B
Text

$NetBSD: patch-aa,v 1.8 2014/04/25 08:53:21 wiz Exp $
Adapt paths for pkgsrc.
--- update-mime-database.c.orig 2013-07-09 22:10:53.000000000 +0000
+++ update-mime-database.c
@@ -2135,7 +2135,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++)