diff lang/mozjs52/patch-clang.patch @ 489:ba543d44b357

lang/mozjs52: initial import, closes #1580
author David Demelier <markand@malikania.fr>
date Sun, 07 Apr 2019 14:37:20 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/mozjs52/patch-clang.patch	Sun Apr 07 14:37:20 2019 +0200
@@ -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 */