diff options
Diffstat (limited to 'mail/thunderbird45/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.cpp')
-rw-r--r-- | mail/thunderbird45/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mail/thunderbird45/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.cpp b/mail/thunderbird45/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.cpp new file mode 100644 index 00000000000..37f1e12cd32 --- /dev/null +++ b/mail/thunderbird45/patches/patch-mozilla_dom_plugins_ipc_PluginModuleChild.cpp @@ -0,0 +1,31 @@ +$NetBSD: patch-mozilla_dom_plugins_ipc_PluginModuleChild.cpp,v 1.1 2017/04/27 13:38:18 ryoon Exp $ + +--- mozilla/dom/plugins/ipc/PluginModuleChild.cpp.orig 2016-04-07 21:33:30.000000000 +0000 ++++ mozilla/dom/plugins/ipc/PluginModuleChild.cpp +@@ -308,7 +308,7 @@ PluginModuleChild::InitForChrome(const s + + // TODO: use PluginPRLibrary here + +-#if defined(OS_LINUX) || defined(OS_BSD) ++#if defined(OS_LINUX) || defined(OS_BSD) || defined(OS_SOLARIS) + mShutdownFunc = + (NP_PLUGINSHUTDOWN) PR_FindFunctionSymbol(mLibrary, "NP_Shutdown"); + +@@ -1916,7 +1916,7 @@ PluginModuleChild::AnswerNP_GetEntryPoin + AssertPluginThread(); + MOZ_ASSERT(mIsChrome); + +-#if defined(OS_LINUX) || defined(OS_BSD) ++#if defined(OS_LINUX) || defined(OS_BSD) || defined(OS_SOLARIS) + return true; + #elif defined(OS_WIN) || defined(OS_MACOSX) + *_retval = mGetEntryPointsFunc(&mFunctions); +@@ -1961,7 +1961,7 @@ PluginModuleChild::DoNP_Initialize(const + #endif + + NPError result; +-#if defined(OS_LINUX) || defined(OS_BSD) ++#if defined(OS_LINUX) || defined(OS_BSD) || defined(OS_SOLARIS) + result = mInitializeFunc(&sBrowserFuncs, &mFunctions); + #elif defined(OS_WIN) || defined(OS_MACOSX) + result = mInitializeFunc(&sBrowserFuncs); |