You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2023/01/10 08:51:14 UTC

[couchdb-glazier] 01/01: Windows patch to build Spidermonkey library on esr91

This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch add-win-patches
in repository https://gitbox.apache.org/repos/asf/couchdb-glazier.git

commit a3ed304fdc11eedf3cdf39020d5ecaee36e05810
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Tue Jan 10 09:49:53 2023 +0100

    Windows patch to build Spidermonkey library on esr91
---
 moz/patches/esr91/fix-bug-1802675.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/moz/patches/esr91/fix-bug-1802675.sh b/moz/patches/esr91/fix-bug-1802675.sh
new file mode 100644
index 0000000..3d107a6
--- /dev/null
+++ b/moz/patches/esr91/fix-bug-1802675.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# https://bugzilla.mozilla.org/show_bug.cgi?id=1802675
+cd /c/relax/gecko-dev/memory/mozalloc || exit
+mv moz.build moz.build2.org
+sed 's/if CONFIG\["OS_TARGET"\] == "WINNT":/if CONFIG["MOZ_MEMORY"] and CONFIG["OS_TARGET"] == "WINNT":/g' moz.build2.org > moz.build