~ruther/guix-local

ref: eaad0a367bb4a7e11076df959bddaff221aac381 guix-local/gnu/packages/patches/fontconfig-cache-ignore-mtime.patch -rw-r--r-- 438 bytes
eaad0a36 — Nicolas Graves gnu: emacs-beancount: Update to 0.9.0-0.8a564f5. 3 months ago
                                                                                
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)