pacho       14/12/23 16:33:04

  Added:                fontconfig-2.11.1-fc-cache-r.patch
  Log:
  Fix fc-cache -r (#531748)
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
A188FBD4)

Revision  Changes    Path
1.1                  
media-libs/fontconfig/files/fontconfig-2.11.1-fc-cache-r.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/fontconfig/files/fontconfig-2.11.1-fc-cache-r.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/fontconfig/files/fontconfig-2.11.1-fc-cache-r.patch?rev=1.1&content-type=text/plain

Index: fontconfig-2.11.1-fc-cache-r.patch
===================================================================
>From f44157c809d280e2a0ce87fb078fc4b278d24a67 Mon Sep 17 00:00:00 2001
From: Akira TAGOH <[email protected]>
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





Reply via email to