components/desktop/firefox/patches/firefox-49-npapi.patch
changeset 6919 7972aae0fb03
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/desktop/firefox/patches/firefox-49-npapi.patch	Fri Sep 16 16:06:45 2016 -0700
@@ -0,0 +1,16 @@
+Needed to get flash plugin working. 
+Will not send upstream.
+
+diff --git a/dom/plugins/base/npapi.h b/dom/plugins/base/npapi.h
+index 0968651..238ffb3 100644
+--- a/dom/plugins/base/npapi.h
++++ b/dom/plugins/base/npapi.h
+@@ -334,7 +334,7 @@ typedef enum {
+  *   gcc 3.x generated vtables on UNIX and OSX are incompatible with
+  *   previous compilers.
+  */
+-#if (defined(XP_UNIX) && defined(__GNUC__) && (__GNUC__ >= 3))
++#if (defined(XP_UNIX) && defined(__GNUC__) && (__GNUC__ >= 3) && !defined(OS_SOLARIS))
+ #define _NP_ABI_MIXIN_FOR_GCC3 NP_ABI_GCC3_MASK
+ #else
+ #define _NP_ABI_MIXIN_FOR_GCC3 0