aboutsummaryrefslogtreecommitdiff
path: root/devel/electron7/files/patch-base_files_file__util.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron7/files/patch-base_files_file__util.h')
-rw-r--r--devel/electron7/files/patch-base_files_file__util.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-base_files_file__util.h b/devel/electron7/files/patch-base_files_file__util.h
new file mode 100644
index 000000000000..1107907e3a50
--- /dev/null
+++ b/devel/electron7/files/patch-base_files_file__util.h
@@ -0,0 +1,11 @@
+--- base/files/file_util.h.orig 2019-12-12 12:38:58 UTC
++++ base/files/file_util.h
+@@ -497,7 +497,7 @@ BASE_EXPORT bool VerifyPathControlledByAdmin(const bas
+ // the directory |path|, in the number of FilePath::CharType, or -1 on failure.
+ BASE_EXPORT int GetMaximumPathComponentLength(const base::FilePath& path);
+
+-#if defined(OS_LINUX) || defined(OS_AIX)
++#if defined(OS_LINUX) || defined(OS_AIX) || defined(OS_BSD)
+ // Broad categories of file systems as returned by statfs() on Linux.
+ enum FileSystemType {
+ FILE_SYSTEM_UNKNOWN, // statfs failed.