spidermonkey-91.9.1

This commit is contained in:
Rmys
2022-06-01 13:13:09 +03:00
committed by GitHub
parent 92b3c978b5
commit 6b37713882
3 changed files with 33 additions and 10 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ def setup():
shelltools.system("mkdir -p build-js")
shelltools.cd("build-js")
shelltools.system("../js/src/configure \
shelltools.system("sh ../js/src/configure.in \
--prefix=/usr \
--libdir=/usr/lib \
--enable-readline \
@@ -10,13 +10,29 @@
ifeq ($(OS_ARCH),Darwin)
install_name_tool -id $(abspath $(libdir)/$(SHARED_LIBRARY)) $(DESTDIR)$(libdir)/$(SHARED_LIBRARY)
endif
--- a/js/src/build/moz.build
+++ b/js/src/build/moz.build
@@ -25,6 +25,7 @@
if CONFIG['JS_SHARED_LIBRARY']:
GeckoSharedLibrary('js', linkage=None)
SHARED_LIBRARY_NAME = CONFIG['JS_LIBRARY_NAME']
--- a/js/src/build/moz.build 2022-03-13 17:31:39.000000000 +0300
+++ b/js/src/build/moz.build 2022-03-21 23:32:34.252893769 +0300
@@ -26,6 +26,7 @@
if CONFIG["JS_SHARED_LIBRARY"]:
GeckoSharedLibrary("js", linkage=None)
SHARED_LIBRARY_NAME = CONFIG["JS_LIBRARY_NAME"]
+ LDFLAGS += ['-Wl,-soname,lib{}.so.0'.format(SHARED_LIBRARY_NAME)]
# Ensure symbol versions of shared library on Linux do not conflict
# with those in libxul.
# with those in libxul.
diff --git a/config/rules.mk b/config/rules.mk
index 0f9b2ac..f6b4efe 100644
--- a/config/rules.mk
+++ b/config/rules.mk
@@ -285,6 +285,8 @@ ifeq ($(OS_ARCH),GNU)
OS_CPPFLAGS += -DPATH_MAX=1024 -DMAXPATHLEN=1024
endif
+EXTRA_DSO_LDOPTS += -Wl,-soname,lib$(JS_LIBRARY_NAME).so.0
+
#
# MINGW32
#
--
2.31.1
+9 -2
View File
@@ -12,7 +12,7 @@
<IsA>library</IsA>
<Summary>Stand-alone JavaScript C Library</Summary>
<Description>Spidermonkey is Mozilla's C implementation of JavaScript.</Description>
<Archive type="tarxz" sha1sum="83ae378d8bddd9efc5badb99a6246979313f7134">https://ftp.mozilla.org/pub/firefox/releases/78.12.0esr/source/firefox-78.12.0esr.source.tar.xz</Archive>
<Archive type="tarxz" sha1sum="6d889a16bf839da5a809e2d0c75426abbb62801d">https://ftp.mozilla.org/pub/firefox/releases/91.9.1esr/source/firefox-91.9.1esr.source.tar.xz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>zlib-devel</Dependency>
@@ -23,7 +23,7 @@
<Dependency>llvm</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">mozjs78-silence-sandbox-violations.patch</Patch>
<!-- <Patch level="1">mozjs78-silence-sandbox-violations.patch</Patch> -->
<Patch level="1">mozjs78-fix-soname.patch</Patch>
<!--Patch level="1">Remove-unused-LLVM-and-Rust-build-dependencies.patch</Patch-->
</Patches>
@@ -60,6 +60,13 @@
</Package>
<History>
<Update release="13">
<Date>2022-06-01</Date>
<Version>91.9.1</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="12">
<Date>2021-08-07</Date>
<Version>78.12.0</Version>