23 lines
751 B
Plaintext
23 lines
751 B
Plaintext
$OpenBSD: patch-src_mimeutils_c,v 1.5 2018/04/24 19:34:45 ajacoutot Exp $
|
|
|
|
From 92af4108750ceaf4191fd54e255885c7d8a78b70 Mon Sep 17 00:00:00 2001
|
|
From: Matthias Clasen <mclasen@redhat.com>
|
|
Date: Mon, 9 Apr 2018 17:06:37 -0400
|
|
Subject: Add font as valid media type
|
|
|
|
Index: src/mimeutils.c
|
|
--- src/mimeutils.c.orig
|
|
+++ src/mimeutils.c
|
|
@@ -52,9 +52,9 @@ static const char *known_old_fdo_media_types[] = {
|
|
"x-directory"
|
|
};
|
|
|
|
-/* Defined in RFC 2045/2046 and RFC 2077 */
|
|
+/* Defined in RFC 2045/2046, RFC 2077 and RFC 8081 */
|
|
static const char *registered_discrete_media_types[] = {
|
|
- "application", "audio", "image", "model", "text", "video"
|
|
+ "application", "audio", "font", "image", "model", "text", "video"
|
|
};
|
|
|
|
/* Defined in RFC 2045/2046 */
|