Blame SOURCES/fontconfig-implicit-object-for-const-name.patch

f02dd2
From 4699406a68321179b14fae7412f828e2f37a7033 Mon Sep 17 00:00:00 2001
f02dd2
From: Akira TAGOH <akira@tagoh.org>
f02dd2
Date: Wed, 14 Mar 2018 18:31:30 +0900
f02dd2
Subject: [PATCH 2/5] Add the value of the constant name to the implicit object
f02dd2
 in the pattern
f02dd2
f02dd2
For objects which has been changed the object type to FcTypeRange.
f02dd2
f02dd2
https://bugs.freedesktop.org/show_bug.cgi?id=105415
f02dd2
---
f02dd2
 src/fcname.c | 4 ++++
f02dd2
 1 file changed, 4 insertions(+)
f02dd2
f02dd2
diff --git a/src/fcname.c b/src/fcname.c
f02dd2
index 15fb659..c9320ae 100644
f02dd2
--- a/src/fcname.c
f02dd2
+++ b/src/fcname.c
f02dd2
@@ -490,6 +490,10 @@ FcNameParse (const FcChar8 *name)
f02dd2
 			if (!FcPatternAddBool (pat, c->object, c->value))
f02dd2
 			    goto bail2;
f02dd2
 			break;
f02dd2
+		    case FcTypeRange:
f02dd2
+			if (!FcPatternAddInteger (pat, c->object, c->value))
f02dd2
+			    goto bail2;
f02dd2
+			break;
f02dd2
 		    default:
f02dd2
 			break;
f02dd2
 		    }
f02dd2
-- 
f02dd2
2.14.3
f02dd2