diff --git a/libraries/source/spidermonkey/build.sh b/libraries/source/spidermonkey/build.sh index d3c21fe4ea..cb895eee85 100755 --- a/libraries/source/spidermonkey/build.sh +++ b/libraries/source/spidermonkey/build.sh @@ -8,7 +8,7 @@ cd "$(dirname "$0")" # This should match the version in config/milestone.txt FOLDER="mozjs-115.16.1" # If same-version changes are needed, increment this. -LIB_VERSION="115.16.1+3" +LIB_VERSION="115.16.1+4" LIB_NAME="mozjs115" fetch() diff --git a/libraries/source/spidermonkey/patches/FixFpNormIssue.diff b/libraries/source/spidermonkey/patches/FixFpNormIssue.diff index ef4d4d96b6..02bf309cdb 100644 --- a/libraries/source/spidermonkey/patches/FixFpNormIssue.diff +++ b/libraries/source/spidermonkey/patches/FixFpNormIssue.diff @@ -1,6 +1,6 @@ --- a/modules/fdlibm/src/math_private.h +++ b/modules/fdlibm/src/math_private.h -@@ -30,8 +30,13 @@ +@@ -30,7 +30,11 @@ * Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t */ @@ -10,10 +10,9 @@ typedef double __double_t; +#endif typedef __double_t double_t; -+typedef float __float_t; + typedef float __float_t; - /* - * The original fdlibm code used statements like: + @@ -630,6 +634,53 @@ return ((double)(x + 0x1.8p52) - 0x1.8p52); }