Skip to content

Commit a3ea199

Browse files
committed
chore: patches for Windows linking issues are no longer needed, as they were fixed in upstream SpiderMonkey
See https://bugzilla.mozilla.org/show_bug.cgi?id=1751561 and https://bugzilla.mozilla.org/show_bug.cgi?id=1802675 See also: https://discourse.mozilla.org/t/problem-building-102-3-0esr-on-windows/105671
1 parent 0d605cb commit a3ea199

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

setup.sh

-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ cd firefox-source
5454
# Apply patching
5555
# making it work for both GNU and BSD (macOS) versions of sed
5656
sed -i'' -e 's/os not in ("WINNT", "OSX", "Android")/os not in ("WINNT", "Android")/' ./build/moz.configure/pkg.configure # use pkg-config on macOS
57-
sed -i'' -e '/"WindowsDllMain.cpp"/d' ./mozglue/misc/moz.build # https://discourse.mozilla.org/t/105671, https://bugzilla.mozilla.org/show_bug.cgi?id=1751561
58-
sed -i'' -e '/"winheap.cpp"/d' ./memory/mozalloc/moz.build # https://bugzilla.mozilla.org/show_bug.cgi?id=1802675
5957
sed -i'' -e 's/bool Unbox/JS_PUBLIC_API bool Unbox/g' ./js/public/Class.h # need to manually add JS_PUBLIC_API to js::Unbox until it gets fixed in Spidermonkey
6058
sed -i'' -e 's/bool js::Unbox/JS_PUBLIC_API bool js::Unbox/g' ./js/src/vm/JSObject.cpp # same here
6159
sed -i'' -e 's/shared_lib = self._pretty_path(libdef.output_path, backend_file)/shared_lib = libdef.lib_name/' ./python/mozbuild/mozbuild/backend/recursivemake.py # would generate a Makefile to install the binary files from an invalid path prefix

0 commit comments

Comments
 (0)