blob: e34ae2690fd908f14492e78258a56b21df2787ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
https://bugzilla.mozilla.org/show_bug.cgi?id=1426865
Add "dumb" patch to fix undefined symbols when trying to build gjs against
this spidermonkey version.
This issue was fix in firefox and backported to esr 68.
--- js/public/TypeDecls.h.orig 2020-08-17 18:33:37 UTC
+++ js/public/TypeDecls.h
@@ -20,6 +20,8 @@
#include <stddef.h>
#include <stdint.h>
+#pragma GCC visibility push(default)
+
#include "js-config.h"
#include "jstypes.h"
@@ -123,6 +125,8 @@ using HandleVector = Handle<StackGCVector<T>>;
template <typename T>
using MutableHandleVector = MutableHandle<StackGCVector<T>>;
} // namespace JS
+
+#pragma GCC visibility pop
using jsid = JS::PropertyKey;
|