Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix js78-config --libs * fix js::SharedArrayRawBufferRefs public API PR: 255023 PR: 255024 Reported by: shurd
- Loading branch information
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
lang/spidermonkey78/files/patch-js_public_StructuredClone.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |