mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
* gnu/packages/fontutils.scm (fontconfig): Update to 2.16.2. [source]: Fetch from git. [name]: Normalize to 'fonconfig', which fixes 'guix refresh'. [propagated-inputs]: Remove labels. [native-inputs]: Likewise. Add autoconf-2.71, automake, gettext-minimal and libtool. [configure-flags]: Use gexps. [phases]: Likewise. (fontconfig-with-documentation): Streamline comment. Inherit name. [arguments]: Use gexps. [native-inputs]: Use modify-inputs. * gnu/packages/patches/fontconfig-cache-ignore-mtime.patch: Rebase. Change-Id: I8704eec8cef310c7b1122db7a65e612c8c13fbe2
15 lines
441 B
Diff
15 lines
441 B
Diff
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 9b54e2b4..76d7780e 100644
|
|
--- a/src/fcstat.c
|
|
+++ b/src/fcstat.c
|
|
@@ -415,6 +415,7 @@ FcIsFsMmapSafe (int fd)
|
|
FcBool
|
|
FcIsFsMtimeBroken (const FcChar8 *dir)
|
|
{
|
|
+ return FcTrue;
|
|
int fd = FcOpen ((const char *)dir, O_RDONLY);
|
|
|
|
if (fd != -1) {
|