12345678910111213141516171819202122232425262728293031 |
- diff --git a/package/fontconfig/001-mtime-always-ok.patch b/package/fontconfig/001-mtime-always-ok.patch
- new file mode 100644
- index 0000000..671c1f1
- --- /dev/null
- +++ b/package/fontconfig/001-mtime-always-ok.patch
- @@ -0,0 +1,12 @@
- +diff -Naurp a/src/fccache.c b/src/fccache.c
- +--- a/src/fccache.c 2016-08-05 07:35:05.000000000 +0200
- ++++ b/src/fccache.c 2017-11-26 00:51:18.800927077 +0100
- +@@ -585,7 +585,7 @@ FcCacheTimeValid (FcConfig *config, FcCa
- + FcCacheDir (cache), cache->checksum, (int) dir_stat->st_mtime);
- + #endif
- +
- +- return cache->checksum == (int) dir_stat->st_mtime && fnano;
- ++ return FcTrue;
- + }
- +
- + static FcBool
- diff --git a/package/fontconfig/fontconfig.mk b/package/fontconfig/fontconfig.mk
- index 93f2a15..a470d1f 100644
- --- a/package/fontconfig/fontconfig.mk
- +++ b/package/fontconfig/fontconfig.mk
- @@ -15,7 +15,7 @@ FONTCONFIG_LICENSE_FILES = COPYING
-
- FONTCONFIG_CONF_OPTS = \
- --with-arch=$(GNU_TARGET_NAME) \
- - --with-cache-dir=/var/cache/fontconfig \
- + --with-cache-dir=/fontconfig_cache \
- --disable-docs
-
- HOST_FONTCONFIG_CONF_OPTS = \
|