summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-12-23 16:33:05 +0000
committerPacho Ramos <pacho@gentoo.org>2014-12-23 16:33:05 +0000
commit8cf5ac42a0f794229b74ae67b67e0e87b2e1a30f (patch)
treed55578c49d5a1f5a5fd41bfe800059f346e527e9 /media-libs/fontconfig/files
parentPort gtk+-3 version. Fix missing MULTILIB_USEDEP on pkgconfig. (diff)
downloadhistorical-8cf5ac42a0f794229b74ae67b67e0e87b2e1a30f.tar.gz
historical-8cf5ac42a0f794229b74ae67b67e0e87b2e1a30f.tar.bz2
historical-8cf5ac42a0f794229b74ae67b67e0e87b2e1a30f.zip
Fix fc-cache -r (#531748)
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'media-libs/fontconfig/files')
-rw-r--r--media-libs/fontconfig/files/fontconfig-2.11.1-fc-cache-r.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/media-libs/fontconfig/files/fontconfig-2.11.1-fc-cache-r.patch b/media-libs/fontconfig/files/fontconfig-2.11.1-fc-cache-r.patch
new file mode 100644
index 000000000000..48f67f12974d
--- /dev/null
+++ b/media-libs/fontconfig/files/fontconfig-2.11.1-fc-cache-r.patch
@@ -0,0 +1,26 @@
+From f44157c809d280e2a0ce87fb078fc4b278d24a67 Mon Sep 17 00:00:00 2001
+From: Akira TAGOH <akira@tagoh.org>
+Date: Thu, 10 Apr 2014 19:27:55 +0900
+Subject: Fix fc-cache fail with -r
+
+Do not unlink the cache even if --really-force is given.
+because re-scanning process expects the cache exists.
+
+https://bugs.freedesktop.org/show_bug.cgi?id=77252
+
+diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c
+index 99e0e9f..90ebad3 100644
+--- a/fc-cache/fc-cache.c
++++ b/fc-cache/fc-cache.c
+@@ -388,7 +388,7 @@ main (int argc, char **argv)
+ list = FcStrListCreate (updateDirs);
+ if (list)
+ {
+- ret += scanDirs (list, config, FcTrue, really_force, verbose, FcFalse, &changed, NULL);
++ ret += scanDirs (list, config, FcTrue, FcFalse, verbose, FcFalse, &changed, NULL);
+ FcStrListDone (list);
+ }
+ FcStrSetDestroy (updateDirs);
+--
+cgit v0.10.2
+