diff options
author | Pacho Ramos <pacho@gentoo.org> | 2014-12-23 16:33:04 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2014-12-23 16:33:04 +0000 |
commit | ea6aa3041d0c8f16314df60496a7c8db7fc1fa75 (patch) | |
tree | 628f6f3d3796ba4248902edb7570d7dd2dae169a /media-libs/fontconfig/files | |
parent | Port gtk+-3 version. Fix missing MULTILIB_USEDEP on pkgconfig. (diff) | |
download | gentoo-2-ea6aa3041d0c8f16314df60496a7c8db7fc1fa75.tar.gz gentoo-2-ea6aa3041d0c8f16314df60496a7c8db7fc1fa75.tar.bz2 gentoo-2-ea6aa3041d0c8f16314df60496a7c8db7fc1fa75.zip |
Fix fc-cache -r (#531748)
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'media-libs/fontconfig/files')
-rw-r--r-- | media-libs/fontconfig/files/fontconfig-2.11.1-fc-cache-r.patch | 26 |
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 + |