Date: Sun, 12 Jan 2020 22:34:38 +0000 (UTC) From: Koop Mast <kwm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522842 - in head/lang/spidermonkey60: . files Message-ID: <202001122234.00CMYcgT052812@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kwm Date: Sun Jan 12 22:34:38 2020 New Revision: 522842 URL: https://svnweb.freebsd.org/changeset/ports/522842 Log: Add simple patch to fix undefined symbol problems when trying to build gjs with this spidermonkey version. Approved by: maintainer Obtained from: https://bugzilla.mozilla.org/show_bug.cgi?id=1426865 Added: head/lang/spidermonkey60/files/ head/lang/spidermonkey60/files/patch-js_public_TypeDecls.h (contents, props changed) Modified: head/lang/spidermonkey60/Makefile Modified: head/lang/spidermonkey60/Makefile ============================================================================== --- head/lang/spidermonkey60/Makefile Sun Jan 12 22:24:46 2020 (r522841) +++ head/lang/spidermonkey60/Makefile Sun Jan 12 22:34:38 2020 (r522842) @@ -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} Added: head/lang/spidermonkey60/files/patch-js_public_TypeDecls.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/spidermonkey60/files/patch-js_public_TypeDecls.h Sun Jan 12 22:34:38 2020 (r522842) @@ -0,0 +1,26 @@ +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 2019-09-01 13:09:17 UTC ++++ js/public/TypeDecls.h +@@ -20,6 +20,8 @@ + #include <stddef.h> + #include <stdint.h> + ++#pragma GCC visibility push(default) ++ + #include "js-config.h" + + typedef uint8_t jsbytecode; +@@ -89,5 +91,7 @@ typedef PersistentRooted<JS::Symbol*> PersistentRooted + typedef PersistentRooted<Value> PersistentRootedValue; + + } // namespace JS ++ ++#pragma GCC visibility pop + + #endif /* js_TypeDecls_h */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001122234.00CMYcgT052812>