summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-base_files_file__path__watcher.cc
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
commit26b4c8f71f91d22e081b27814782686edde0c90a (patch)
tree1c321c39372c25d8634e75b5c8e08edc676b296d /www/iridium/files/patch-base_files_file__path__watcher.cc
parentNew port: math/py-optuna: A hyperparameter optimization framework (diff)
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed With hat: portmgr
Diffstat (limited to 'www/iridium/files/patch-base_files_file__path__watcher.cc')
-rw-r--r--www/iridium/files/patch-base_files_file__path__watcher.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/iridium/files/patch-base_files_file__path__watcher.cc b/www/iridium/files/patch-base_files_file__path__watcher.cc
new file mode 100644
index 000000000000..87abcb7fbda1
--- /dev/null
+++ b/www/iridium/files/patch-base_files_file__path__watcher.cc
@@ -0,0 +1,15 @@
+--- base/files/file_path_watcher.cc.orig 2020-03-16 18:39:41 UTC
++++ base/files/file_path_watcher.cc
+@@ -20,10 +20,10 @@ FilePathWatcher::~FilePathWatcher() {
+ // static
+ bool FilePathWatcher::RecursiveWatchAvailable() {
+ #if (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_WIN) || \
+- defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_AIX)
++ (defined(OS_LINUX) && !defined(OS_BSD)) || defined(OS_ANDROID) || defined(OS_AIX)
+ return true;
+ #else
+- // FSEvents isn't available on iOS.
++ // FSEvents isn't available on iOS and the kqueue watcher.
+ return false;
+ #endif
+ }