aboutsummaryrefslogtreecommitdiff
path: root/devel/electron7/files/patch-electron_shell_common_crash__reporter_crash__reporter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron7/files/patch-electron_shell_common_crash__reporter_crash__reporter.cc')
-rw-r--r--devel/electron7/files/patch-electron_shell_common_crash__reporter_crash__reporter.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-electron_shell_common_crash__reporter_crash__reporter.cc b/devel/electron7/files/patch-electron_shell_common_crash__reporter_crash__reporter.cc
new file mode 100644
index 000000000000..3cbff5a35ab6
--- /dev/null
+++ b/devel/electron7/files/patch-electron_shell_common_crash__reporter_crash__reporter.cc
@@ -0,0 +1,14 @@
+--- electron/shell/common/crash_reporter/crash_reporter.cc.orig 2019-12-13 19:48:14 UTC
++++ electron/shell/common/crash_reporter/crash_reporter.cc
+@@ -128,7 +128,11 @@ CrashReporter* CrashReporter::GetInstance() {
+ #endif
+
+ void CrashReporter::StartInstance(const mate::Dictionary& options) {
++#if !defined(OS_BSD)
+ auto* reporter = GetInstance();
++#else
++ CrashReporter *reporter = NULL;
++#endif
+ if (!reporter)
+ return;
+