view lang/mozjs52/patch-clang.patch @ 586:1218a8f753b6

core/busybox: let's re-add /etc/inittab support While busybox has weird /etc/inittab support the predefined actions without it are too minimalistic so re-add the support for it but don't install an /etc/inittab file. The file /etc/inittab file is still installed with sysvinit but if someone wants to use busybox's init it should create its own /etc/inittab file with the busybox syntax and do not install sysvinit afterwards.
author David Demelier <markand@malikania.fr>
date Mon, 08 Jul 2019 20:35:00 +0200
parents ba543d44b357
children
line wrap: on
line source

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 */