summaryrefslogtreecommitdiff
path: root/mail/thunderbird45/patches/patch-mozilla_toolkit_xre_nsEmbedFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird45/patches/patch-mozilla_toolkit_xre_nsEmbedFunctions.cpp')
-rw-r--r--mail/thunderbird45/patches/patch-mozilla_toolkit_xre_nsEmbedFunctions.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/thunderbird45/patches/patch-mozilla_toolkit_xre_nsEmbedFunctions.cpp b/mail/thunderbird45/patches/patch-mozilla_toolkit_xre_nsEmbedFunctions.cpp
new file mode 100644
index 00000000000..70347f523fd
--- /dev/null
+++ b/mail/thunderbird45/patches/patch-mozilla_toolkit_xre_nsEmbedFunctions.cpp
@@ -0,0 +1,22 @@
+$NetBSD: patch-mozilla_toolkit_xre_nsEmbedFunctions.cpp,v 1.1 2017/04/27 13:38:19 ryoon Exp $
+
+--- mozilla/toolkit/xre/nsEmbedFunctions.cpp.orig 2016-04-07 21:33:34.000000000 +0000
++++ mozilla/toolkit/xre/nsEmbedFunctions.cpp
+@@ -259,7 +259,7 @@ XRE_SetRemoteExceptionHandler(const char
+ {
+ #if defined(XP_WIN) || defined(XP_MACOSX)
+ return CrashReporter::SetRemoteExceptionHandler(nsDependentCString(aPipe));
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_SOLARIS)
+ return CrashReporter::SetRemoteExceptionHandler();
+ #else
+ # error "OOP crash reporter unsupported on this platform"
+@@ -449,7 +449,7 @@ XRE_InitChildProcess(int aArgc,
+ // Bug 684322 will add better visibility into this condition
+ NS_WARNING("Could not setup crash reporting\n");
+ }
+-# elif defined(OS_LINUX)
++# elif defined(OS_LINUX) || defined(OS_SOLARIS)
+ // on POSIX, |crashReporterArg| is "true" if crash reporting is
+ // enabled, false otherwise
+ if (0 != strcmp("false", crashReporterArg) &&