$NetBSD: patch-src_3rdparty_chromium_base_files_file__path__watcher__unittest.cc,v 1.2 2022/04/18 11:18:18 adam Exp $ --- src/3rdparty/chromium/base/files/file_path_watcher_unittest.cc.orig 2021-02-19 16:41:59.000000000 +0000 +++ src/3rdparty/chromium/base/files/file_path_watcher_unittest.cc @@ -798,7 +798,7 @@ enum Permission { Execute }; -#if defined(OS_APPLE) +#if defined(OS_APPLE) || defined(OS_BSD) bool ChangeFilePermissions(const FilePath& path, Permission perm, bool allow) { struct stat stat_buf; @@ -829,7 +829,7 @@ bool ChangeFilePermissions(const FilePat } #endif // defined(OS_APPLE) -#if defined(OS_APPLE) +#if defined(OS_APPLE) || defined(OS_BSD) // Linux implementation of FilePathWatcher doesn't catch attribute changes. // http://crbug.com/78043 // Windows implementation of FilePathWatcher catches attribute changes that