aboutsummaryrefslogtreecommitdiff
path: root/devel/electron7/files/patch-base_test_test__file__util__posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron7/files/patch-base_test_test__file__util__posix.cc')
-rw-r--r--devel/electron7/files/patch-base_test_test__file__util__posix.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-base_test_test__file__util__posix.cc b/devel/electron7/files/patch-base_test_test__file__util__posix.cc
new file mode 100644
index 000000000000..3e278261b9d2
--- /dev/null
+++ b/devel/electron7/files/patch-base_test_test__file__util__posix.cc
@@ -0,0 +1,11 @@
+--- base/test/test_file_util_posix.cc.orig 2019-12-12 12:38:59 UTC
++++ base/test/test_file_util_posix.cc
+@@ -85,7 +85,7 @@ void SyncPageCacheToDisk() {
+ sync();
+ }
+
+-#if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
++#if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ bool EvictFileFromSystemCache(const FilePath& file) {
+ // There doesn't seem to be a POSIX way to cool the disk cache.
+ NOTIMPLEMENTED();