Blame SOURCES/0001-Add-font-top-level-type.patch

6a9884
From 7e5d5796c410bb4640399d2284592f3ad27b119e Mon Sep 17 00:00:00 2001
6a9884
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
6a9884
Date: Wed, 8 Feb 2017 13:06:22 +0200
6a9884
Subject: [PATCH 1/6] Add "font" top level type
6a9884
6a9884
https://www.iana.org/assignments/media-types/media-types.xhtml#font
6a9884
https://tools.ietf.org/html/draft-ietf-justfont-toplevel
6a9884
---
6a9884
 update-mime-database.c | 1 +
6a9884
 1 file changed, 1 insertion(+)
6a9884
6a9884
diff --git a/update-mime-database.c b/update-mime-database.c
6a9884
index 5af14d7..881f6a9 100644
6a9884
--- a/update-mime-database.c
6a9884
+++ b/update-mime-database.c
6a9884
@@ -34,60 +34,61 @@
6a9884
 
6a9884
 #define MIME_ERROR g_quark_from_static_string("mime-error-quark")
6a9884
 
6a9884
 #define NOGLOBS "__NOGLOBS__"
6a9884
 #define NOMAGIC "__NOMAGIC__"
6a9884
 
6a9884
 #ifndef PATH_SEPARATOR
6a9884
 # ifdef _WIN32
6a9884
 #  define PATH_SEPARATOR ";"
6a9884
 # else
6a9884
 #  define PATH_SEPARATOR ":"
6a9884
 # endif
6a9884
 #endif
6a9884
 
6a9884
 /* This is the list of directories to scan when finding old type files to
6a9884
  * delete. It is also used to warn about invalid MIME types.
6a9884
  */
6a9884
 const char *media_types[] = {
6a9884
 	"text",
6a9884
 	"application",
6a9884
 	"image",
6a9884
 	"audio",
6a9884
 	"inode",
6a9884
 	"video",
6a9884
 	"message",
6a9884
 	"model",
6a9884
 	"multipart",
6a9884
 	"x-content",
6a9884
 	"x-epoc",
6a9884
 	"x-scheme-handler",
6a9884
+	"font",
6a9884
 };
6a9884
 
6a9884
 /* Represents a MIME type */
6a9884
 typedef struct _Type Type;
6a9884
 
6a9884
 /* A parsed <magic> element */
6a9884
 typedef struct _Magic Magic;
6a9884
 
6a9884
 /* A parsed <match> element */
6a9884
 typedef struct _Match Match;
6a9884
 
6a9884
 /* A parsed <treemagic> element */
6a9884
 typedef struct _TreeMagic TreeMagic;
6a9884
 
6a9884
 /* A parsed <treematch> element */
6a9884
 typedef struct _TreeMatch TreeMatch;
6a9884
 
6a9884
 /* A parsed <glob> element */
6a9884
 typedef struct _Glob Glob;
6a9884
 
6a9884
 struct _Type {
6a9884
 	char *media;
6a9884
 	char *subtype;
6a9884
 
6a9884
 	/* Contains xmlNodes for elements that are being copied to the output.
6a9884
 	 * That is, <comment>, <sub-class-of> and <alias> nodes, and anything
6a9884
 	 * with an unknown namespace.
6a9884
 	 */
6a9884
 	xmlDoc	*output;
6a9884
 };
6a9884
-- 
6a9884
2.21.0
6a9884