summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2017-09-11 21:50:13 +0200
committerAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2017-09-12 10:35:01 +0200
commit0860b9c7696a0f0c41e67ede3ccb7724ebbeafd7 (patch)
tree56a665224ae46cb601d0a1fcaf404ef4d2fa4dbf
parent0677b16cc7d1a5bcd3d2aa51c5f6750d8f1a901d (diff)
downloaddesktop-0860b9c7696a0f0c41e67ede3ccb7724ebbeafd7.tar.gz
desktop-0860b9c7696a0f0c41e67ede3ccb7724ebbeafd7.tar.xz
spidermonkey: backport mozglue patch
Signed-off-by: Marc-Antoine Perennou <keruspe@exherbo.org>
-rw-r--r--packages/dev-libs/spidermonkey/spidermonkey-52.3.0-r1.exheres-0 (renamed from packages/dev-libs/spidermonkey/spidermonkey-52.3.0.exheres-0)5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/dev-libs/spidermonkey/spidermonkey-52.3.0.exheres-0 b/packages/dev-libs/spidermonkey/spidermonkey-52.3.0-r1.exheres-0
index 34fe110..da36494 100644
--- a/packages/dev-libs/spidermonkey/spidermonkey-52.3.0.exheres-0
+++ b/packages/dev-libs/spidermonkey/spidermonkey-52.3.0-r1.exheres-0
@@ -40,6 +40,11 @@ src_prepare() {
for check in vanilla_allocations js_msg_encoding macroassembler_style spidermonkey_style; do
echo "" > config/check_${check}.py
done
+ # Don't link dynamically to MOZ_GLUE in standalone mode (fix WIP upstream)
+ edo sed -e 's/SharedLibrary/Library/' -i mozglue/build/moz.build
+ edo sed -e 's/MOZ_GLUE_IN_PROGRAM=1/MOZ_GLUE_IN_PROGRAM=/' -e '/AC_DEFINE.MOZ_GLUE_IN_PROGRAM/d' -i old-configure.in -i js/src/old-configure.in
+ edo autoconf-2.13 old-configure.in > old-configure
+ edo touch configure js/src/configure
}
src_configure() {