summaryrefslogtreecommitdiff
path: root/www/firefox52/patches/patch-dom_plugins_ipc_PluginModuleChild.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox52/patches/patch-dom_plugins_ipc_PluginModuleChild.cpp')
-rw-r--r--www/firefox52/patches/patch-dom_plugins_ipc_PluginModuleChild.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/www/firefox52/patches/patch-dom_plugins_ipc_PluginModuleChild.cpp b/www/firefox52/patches/patch-dom_plugins_ipc_PluginModuleChild.cpp
new file mode 100644
index 00000000000..afe10cd0b09
--- /dev/null
+++ b/www/firefox52/patches/patch-dom_plugins_ipc_PluginModuleChild.cpp
@@ -0,0 +1,33 @@
+$NetBSD: patch-dom_plugins_ipc_PluginModuleChild.cpp,v 1.1 2017/04/27 01:55:57 ryoon Exp $
+
+* Support Solaris
+
+--- dom/plugins/ipc/PluginModuleChild.cpp.orig 2015-03-27 02:20:27.000000000 +0000
++++ dom/plugins/ipc/PluginModuleChild.cpp
+@@ -320,7 +320,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");
+
+@@ -1882,7 +1882,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);
+@@ -1927,7 +1927,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);