diff options
| author | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
|---|---|---|
| committer | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
| commit | 26b4c8f71f91d22e081b27814782686edde0c90a (patch) | |
| tree | 1c321c39372c25d8634e75b5c8e08edc676b296d /devel/electron7/files/patch-electron_shell_app_atom__main.cc | |
| parent | New 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 'devel/electron7/files/patch-electron_shell_app_atom__main.cc')
| -rw-r--r-- | devel/electron7/files/patch-electron_shell_app_atom__main.cc | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-electron_shell_app_atom__main.cc b/devel/electron7/files/patch-electron_shell_app_atom__main.cc new file mode 100644 index 000000000000..744d8967b647 --- /dev/null +++ b/devel/electron7/files/patch-electron_shell_app_atom__main.cc @@ -0,0 +1,35 @@ +--- electron/shell/app/atom_main.cc.orig 2019-12-13 19:48:14 UTC ++++ electron/shell/app/atom_main.cc +@@ -26,12 +26,12 @@ + #include "shell/app/atom_main_delegate.h" + #include "shell/app/command_line_args.h" + #include "shell/common/crash_reporter/win/crash_service_main.h" +-#elif defined(OS_LINUX) // defined(OS_WIN) ++#elif defined(OS_LINUX) || defined(OS_BSD) // defined(OS_WIN) + #include <unistd.h> + #include <cstdio> + #include "content/public/app/content_main.h" + #include "shell/app/atom_main_delegate.h" // NOLINT +-#else // defined(OS_LINUX) ++#else // defined(OS_LINUX) || defined(OS_BSD) + #include <mach-o/dyld.h> + #include <unistd.h> + #include <cstdio> +@@ -168,7 +168,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(); +@@ -189,7 +189,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(); |
