summaryrefslogtreecommitdiff
path: root/fontconfig-drop-lang-from-pkgkit-format.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 14:04:43 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 14:04:43 +0000
commit7552d9f26277730dcf4d6b2286e05af895f0fa9a (patch)
tree0795ce3d2e333b0bdb42599b16df058731d8cdff /fontconfig-drop-lang-from-pkgkit-format.patch
parent1ffe683c1f0a5b2f2dc9b1456e3d283f5c7dc88d (diff)
automatic import of fontconfigopeneuler24.03_LTS
Diffstat (limited to 'fontconfig-drop-lang-from-pkgkit-format.patch')
-rw-r--r--fontconfig-drop-lang-from-pkgkit-format.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/fontconfig-drop-lang-from-pkgkit-format.patch b/fontconfig-drop-lang-from-pkgkit-format.patch
new file mode 100644
index 0000000..8b77308
--- /dev/null
+++ b/fontconfig-drop-lang-from-pkgkit-format.patch
@@ -0,0 +1,12 @@
+diff -pruN fontconfig-2.13.92.orig/src/fcformat.c fontconfig-2.13.92/src/fcformat.c
+--- fontconfig-2.13.92.orig/src/fcformat.c 2018-07-19 12:14:39.000000000 +0900
++++ fontconfig-2.13.92/src/fcformat.c 2020-01-20 13:05:33.626227767 +0900
+@@ -78,7 +78,7 @@
+ #define FCCAT_FORMAT "\"%{file|basename|cescape}\" %{index} \"%{-file{%{=unparse|cescape}}}\""
+ #define FCMATCH_FORMAT "%{file:-<unknown filename>|basename}: \"%{family[0]:-<unknown family>}\" \"%{style[0]:-<unknown style>}\""
+ #define FCLIST_FORMAT "%{?file{%{file}: }}%{-file{%{=unparse}}}"
+-#define PKGKIT_FORMAT "%{[]family{font(%{family|downcase|delete( )})\n}}%{[]lang{font(:lang=%{lang|downcase|translate(_,-)})\n}}"
++#define PKGKIT_FORMAT "%{[]family{font(%{family|downcase|delete( )})\n}}"
+
+
+ static void