summaryrefslogtreecommitdiff
path: root/lang/spidermonkey52/files/patch-1426865
diff options
context:
space:
mode:
Diffstat (limited to 'lang/spidermonkey52/files/patch-1426865')
-rw-r--r--lang/spidermonkey52/files/patch-142686523
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/spidermonkey52/files/patch-1426865 b/lang/spidermonkey52/files/patch-1426865
new file mode 100644
index 000000000000..7b922ff70fca
--- /dev/null
+++ b/lang/spidermonkey52/files/patch-1426865
@@ -0,0 +1,23 @@
+Proposed workaround/fix for:
+https://bugzilla.mozilla.org/show_bug.cgi?id=1426865
+
+diff --git a/js/public/TypeDecls.h b/js/public/TypeDecls.h
+index acb93f9..cbd4b04 100644
+--- js/public/TypeDecls.h
++++ js/public/TypeDecls.h
+@@ -22,6 +22,8 @@
+
+ #include "js-config.h"
+
++#pragma GCC visibility push(default)
++
+ struct JSContext;
+ class JSFunction;
+ class JSObject;
+@@ -76,4 +78,6 @@ typedef PersistentRooted<Value> PersistentRootedValue;
+
+ } // namespace JS
+
++#pragma GCC visibility pop
++
+ #endif /* js_TypeDecls_h */