unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob b6e942ee102cc6a08766274146295e7134071cbb 438 bytes (raw)
name: packages/patches/fontconfig-cache-ignore-mtime.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
Pretend that stat's mtime is broken, so that the fontconfig cache does not
depend upon modification time to determine if a cache is stale.

diff --git a/src/fcstat.c b/src/fcstat.c
index 5a2bd7c..d603a96 100644
--- a/src/fcstat.c
+++ b/src/fcstat.c
@@ -431,6 +431,7 @@ FcIsFsMmapSafe (int fd)
 FcBool
 FcIsFsMtimeBroken (const FcChar8 *dir)
 {
+    return FcTrue;
     int fd = FcOpen ((const char *) dir, O_RDONLY);
 
     if (fd != -1)

debug log:

solving b6e942ee102cc6a08766274146295e7134071cbb ...
found b6e942ee102cc6a08766274146295e7134071cbb in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).