Date: Sun, 29 Aug 2021 00:13:46 GMT From: Steve Wills <swills@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6cd9df279156 - main - lang/spidermonkey78: bug fixes Message-ID: <202108290013.17T0DkYk006920@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by swills: URL: https://cgit.FreeBSD.org/ports/commit/?id=6cd9df2791564cbeaf88824acd5570ef184f8b72 commit 6cd9df2791564cbeaf88824acd5570ef184f8b72 Author: Steve Wills <swills@FreeBSD.org> AuthorDate: 2021-08-29 00:12:38 +0000 Commit: Steve Wills <swills@FreeBSD.org> CommitDate: 2021-08-29 00:13:34 +0000 lang/spidermonkey78: bug fixes * fix js78-config --libs * fix js::SharedArrayRawBufferRefs public API PR: 255023 PR: 255024 Reported by: shurd --- lang/spidermonkey78/Makefile | 2 +- .../files/patch-js_public_StructuredClone.h | 13 +++++++++++++ .../files/patch-js_src_build_js-config.in | 18 ++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/lang/spidermonkey78/Makefile b/lang/spidermonkey78/Makefile index c753b8014da1..0ace36ef5937 100644 --- a/lang/spidermonkey78/Makefile +++ b/lang/spidermonkey78/Makefile @@ -1,6 +1,6 @@ PORTNAME= spidermonkey DISTVERSION= 78.7.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= lang MASTER_SITES= MOZILLA/firefox/releases/${DISTVERSION}esr/source PKGNAMESUFFIX= ${SP_VER} diff --git a/lang/spidermonkey78/files/patch-js_public_StructuredClone.h b/lang/spidermonkey78/files/patch-js_public_StructuredClone.h new file mode 100644 index 000000000000..de5de74a5b7d --- /dev/null +++ b/lang/spidermonkey78/files/patch-js_public_StructuredClone.h @@ -0,0 +1,13 @@ +https://bugzilla.mozilla.org/show_bug.cgi?id=1644600 + +--- js/public/StructuredClone.h.orig 2021-02-17 07:48:59 UTC ++++ js/public/StructuredClone.h +@@ -381,7 +381,7 @@ enum OwnTransferablePolicy { + namespace js { + class SharedArrayRawBuffer; + +-class SharedArrayRawBufferRefs { ++class JS_PUBLIC_API SharedArrayRawBufferRefs { + public: + SharedArrayRawBufferRefs() = default; + SharedArrayRawBufferRefs(SharedArrayRawBufferRefs&& other) = default; diff --git a/lang/spidermonkey78/files/patch-js_src_build_js-config.in b/lang/spidermonkey78/files/patch-js_src_build_js-config.in new file mode 100644 index 000000000000..97509e5b716b --- /dev/null +++ b/lang/spidermonkey78/files/patch-js_src_build_js-config.in @@ -0,0 +1,18 @@ +--- js/src/build/js-config.in.orig 2021-08-28 22:43:38 UTC ++++ js/src/build/js-config.in +@@ -8,7 +8,6 @@ mozilla_version='@MOZILLA_VERSION@' + JS_LIBRARY_NAME='@JS_LIBRARY_NAME@' + NSPR_CFLAGS='@NSPR_CFLAGS@' + JS_CONFIG_LIBS='@JS_CONFIG_LIBS@' +-MOZ_JS_LIBS='@JS_CONFIG_MOZ_JS_LIBS@' + + FILENAME=`basename "$0"` + +@@ -111,6 +110,7 @@ if test "$echo_cflags" = "yes"; then + echo "-std=gnu++11 -include $includedir/$JS_LIBRARY_NAME/js/RequiredDefines.h -isystem $includedir/$JS_LIBRARY_NAME $NSPR_CFLAGS" + fi + ++MOZ_JS_LIBS="@JS_CONFIG_MOZ_JS_LIBS@" + if test "$echo_libs" = "yes"; then + echo "$MOZ_JS_LIBS $JS_CONFIG_LIBS" + fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108290013.17T0DkYk006920>