diff options
Diffstat (limited to 'www/firefox52/patches/patch-toolkit_xre_nsEmbedFunctions.cpp')
-rw-r--r-- | www/firefox52/patches/patch-toolkit_xre_nsEmbedFunctions.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/www/firefox52/patches/patch-toolkit_xre_nsEmbedFunctions.cpp b/www/firefox52/patches/patch-toolkit_xre_nsEmbedFunctions.cpp new file mode 100644 index 00000000000..e53a0a885cd --- /dev/null +++ b/www/firefox52/patches/patch-toolkit_xre_nsEmbedFunctions.cpp @@ -0,0 +1,24 @@ +$NetBSD: patch-toolkit_xre_nsEmbedFunctions.cpp,v 1.1 2017/04/27 01:55:57 ryoon Exp $ + +* Support Solaris + +--- toolkit/xre/nsEmbedFunctions.cpp.orig 2013-05-11 19:19:55.000000000 +0000 ++++ toolkit/xre/nsEmbedFunctions.cpp +@@ -239,7 +239,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" +@@ -351,7 +351,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) && |