mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 04:00:41 -04:00
Changelog: https://chromium.googlesource.com/chromium/src/+log/68.0.3440.106..71.0.3578.98?pretty=fuller&n=10000 PR: 233990 Submitted by: Matthias Wolf <freebsd@rheinwolf.de> Reported by: nikolaibitinit@gmail.com Reviewed by: rene, cpm Approved by: rene, cpm MFH: 2019Q1 Security: http://vuxml.freebsd.org/freebsd/546d4dd4-10ea-11e9-b407-080027ef1a23.html Security: http://vuxml.freebsd.org/freebsd/720590df-10eb-11e9-b407-080027ef1a23.html
17 lines
644 B
C++
17 lines
644 B
C++
--- base/test/generate_fontconfig_caches.cc.orig 2018-12-16 02:19:42.000000000 +0100
|
|
+++ base/test/generate_fontconfig_caches.cc 2018-12-16 02:19:45.432130000 +0100
|
|
@@ -57,7 +57,14 @@
|
|
base::TearDownFontconfig();
|
|
|
|
// Check existence of intended fontconfig cache file.
|
|
+#if defined(OS_BSD)
|
|
+ // Our version of fontconfig is too old to respect .uuid files in font directories,
|
|
+ // so we check for the CACHEDIR.TAG file instead
|
|
CHECK(base::PathExists(
|
|
+ fontconfig_caches.Append("CACHEDIR.TAG")));
|
|
+#else
|
|
+ CHECK(base::PathExists(
|
|
fontconfig_caches.Append(base::StrCat({uuid, "-le64.cache-7"}))));
|
|
+#endif
|
|
return 0;
|
|
}
|