diff options
author | Steve Wills <swills@FreeBSD.org> | 2020-09-14 22:20:53 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2020-09-14 22:20:53 +0000 |
commit | fafc1b8e311ddca5d2126ce29f1eb88bcd125bc2 (patch) | |
tree | 3d1af5aa76590d19858ee85d28c085cb596f7cb8 /lang/spidermonkey78/files/patch-js_public_TypeDecls.h | |
parent | af1a792f2b8b98bafc490c546a2ffc297c2f773b (diff) | |
download | ports-fafc1b8e311ddca5d2126ce29f1eb88bcd125bc2.tar.gz ports-fafc1b8e311ddca5d2126ce29f1eb88bcd125bc2.zip |
lang/spidermonkey78: create port
Create a port for newer spidermonkey based on spidermonkey68 to be used by
upcoming polkit
Notes
Notes:
svn path=/head/; revision=548684
Diffstat (limited to 'lang/spidermonkey78/files/patch-js_public_TypeDecls.h')
-rw-r--r-- | lang/spidermonkey78/files/patch-js_public_TypeDecls.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lang/spidermonkey78/files/patch-js_public_TypeDecls.h b/lang/spidermonkey78/files/patch-js_public_TypeDecls.h new file mode 100644 index 000000000000..e34ae2690fd9 --- /dev/null +++ b/lang/spidermonkey78/files/patch-js_public_TypeDecls.h @@ -0,0 +1,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; + |