projects/aports·blob master · refs

11 lines · 481 B

1--- ./third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc.orig
2+++ ./third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc
3@@ -56,7 +56,7 @@
4 FcFini();
5
6 // Check existence of intended fontconfig cache file.
7- auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-11";
8+ auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-" + FC_CACHE_VERSION;
9 bool cache_exists = access(cache.c_str(), F_OK) == 0;
10 return !cache_exists;
11 }