aboutsummaryrefslogtreecommitdiff
path: root/devel/electron7/files/patch-tools_gn_base_files_file__util__posix.cc
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2020-03-13 09:40:00 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2020-03-13 09:40:00 +0000
commit074009c945cc68a322e2a4bc11a6f982bc720011 (patch)
tree1c67356e9f5d127a8e483d1ac9e3aa265cdceb62 /devel/electron7/files/patch-tools_gn_base_files_file__util__posix.cc
parent25848d5eaeca95ac82dd50142129de08ec6fb0f5 (diff)
downloadports-074009c945cc68a322e2a4bc11a6f982bc720011.tar.gz
ports-074009c945cc68a322e2a4bc11a6f982bc720011.zip
Add electron7 7.1.14, build cross-platform desktop apps with JavaScript,
HTML, and CSS.
Notes
Notes: svn path=/head/; revision=528341
Diffstat (limited to 'devel/electron7/files/patch-tools_gn_base_files_file__util__posix.cc')
-rw-r--r--devel/electron7/files/patch-tools_gn_base_files_file__util__posix.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-tools_gn_base_files_file__util__posix.cc b/devel/electron7/files/patch-tools_gn_base_files_file__util__posix.cc
new file mode 100644
index 000000000000..ec799cd0755b
--- /dev/null
+++ b/devel/electron7/files/patch-tools_gn_base_files_file__util__posix.cc
@@ -0,0 +1,11 @@
+--- tools/gn/base/files/file_util_posix.cc.orig 2019-11-19 01:42:28 UTC
++++ tools/gn/base/files/file_util_posix.cc
+@@ -254,7 +254,7 @@ bool ReplaceFile(const FilePath& from_path,
+ #endif // !defined(OS_NACL_NONSFI)
+
+ bool CreateLocalNonBlockingPipe(int fds[2]) {
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ return pipe2(fds, O_CLOEXEC | O_NONBLOCK) == 0;
+ #else
+ int raw_fds[2];