summaryrefslogtreecommitdiff
path: root/devel/electron5/files/patch-electron_atom_app_atom__main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron5/files/patch-electron_atom_app_atom__main.cc')
-rw-r--r--devel/electron5/files/patch-electron_atom_app_atom__main.cc35
1 files changed, 0 insertions, 35 deletions
diff --git a/devel/electron5/files/patch-electron_atom_app_atom__main.cc b/devel/electron5/files/patch-electron_atom_app_atom__main.cc
deleted file mode 100644
index 0074c4419b54..000000000000
--- a/devel/electron5/files/patch-electron_atom_app_atom__main.cc
+++ /dev/null
@@ -1,35 +0,0 @@
---- electron/atom/app/atom_main.cc.orig 2019-04-04 16:09:31 UTC
-+++ electron/atom/app/atom_main.cc
-@@ -25,12 +25,12 @@
- #include "base/win/windows_version.h"
- #include "content/public/app/sandbox_helper_win.h"
- #include "sandbox/win/src/sandbox_types.h"
--#elif defined(OS_LINUX) // defined(OS_WIN)
-+#elif defined(OS_LINUX) || defined(OS_BSD) // defined(OS_WIN)
- #include <unistd.h>
- #include <cstdio>
- #include "atom/app/atom_main_delegate.h" // NOLINT
- #include "content/public/app/content_main.h"
--#else // defined(OS_LINUX)
-+#else // defined(OS_LINUX) || defined(OS_BSD)
- #include <mach-o/dyld.h>
- #include <unistd.h>
- #include <cstdio>
-@@ -181,7 +181,7 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, w
- return content::ContentMain(params);
- }
-
--#elif defined(OS_LINUX) // defined(OS_WIN)
-+#elif defined(OS_LINUX) || defined(OS_BSD) // defined(OS_WIN)
-
- int main(int argc, char* argv[]) {
- FixStdioStreams();
-@@ -202,7 +202,7 @@ int main(int argc, char* argv[]) {
- return content::ContentMain(params);
- }
-
--#else // defined(OS_LINUX)
-+#else // defined(OS_LINUX) || defined(OS_BSD)
-
- int main(int argc, char* argv[]) {
- FixStdioStreams();