mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 03:30:32 -04:00
- Make existing patches apply cleanly Changelog: https://chromium.googlesource.com/chromium/src/+log/72.0.3626.121..73.0.3683.86?pretty=fuller&n=10000 Submitted by: Matthias Wolf MFH: 2019Q2
17 lines
609 B
C++
17 lines
609 B
C++
--- base/test/generate_fontconfig_caches.cc.orig 2019-03-11 22:00:51 UTC
|
|
+++ base/test/generate_fontconfig_caches.cc
|
|
@@ -57,7 +57,14 @@ int main() {
|
|
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;
|
|
}
|