Index: lang/spidermonkey60/Makefile =================================================================== --- lang/spidermonkey60/Makefile (revision 522271) +++ lang/spidermonkey60/Makefile (working copy) @@ -2,6 +2,7 @@ PORTNAME= spidermonkey DISTVERSION= 60.9.0 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= MOZILLA/firefox/releases/${DISTVERSION}esr/source PKGNAMESUFFIX= ${SP_VER} Index: lang/spidermonkey60/files/patch-js_public_TypeDecls.h =================================================================== --- lang/spidermonkey60/files/patch-js_public_TypeDecls.h (nonexistent) +++ lang/spidermonkey60/files/patch-js_public_TypeDecls.h (working copy) @@ -0,0 +1,26 @@ +https://bugzilla.mozilla.org/show_bug.cgi?id=1426865 + +Add "dumb" patch to get allow gjs to build with this spidermonkey version. + +The real patch is include in firefox esr 68. The reason for using this +dumb patch is that the real fix is massive and does apply easly. + +--- js/public/TypeDecls.h.orig 2019-09-01 13:09:17 UTC ++++ js/public/TypeDecls.h +@@ -20,6 +20,8 @@ + #include + #include + ++#pragma GCC visibility push(default) ++ + #include "js-config.h" + + typedef uint8_t jsbytecode; +@@ -89,5 +91,7 @@ typedef PersistentRooted PersistentRooted + typedef PersistentRooted PersistentRootedValue; + + } // namespace JS ++ ++#pragma GCC visibility pop + + #endif /* js_TypeDecls_h */ Property changes on: lang/spidermonkey60/files/patch-js_public_TypeDecls.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property