Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/libraries/source/spidermonkey/patch.sh
Show All 30 Lines | |||||
# Secondly, there is a 'max SDK version' in SM, | # Secondly, there is a 'max SDK version' in SM, | ||||
# which is set to 10.15.4 in SM78. | # which is set to 10.15.4 in SM78. | ||||
# Upstream has changed this to 10.11 at the moment, | # Upstream has changed this to 10.11 at the moment, | ||||
# so this patches it to an arbitrarily high Mac OS 11 | # so this patches it to an arbitrarily high Mac OS 11 | ||||
patch -p1 < ../FixMacBuild.diff | patch -p1 < ../FixMacBuild.diff | ||||
# Fix FP access breaking compilation on RPI3+ | # Fix FP access breaking compilation on RPI3+ | ||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1526653 | # https://bugzilla.mozilla.org/show_bug.cgi?id=1526653 | ||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1536491 | # https://bugzilla.mozilla.org/show_bug.cgi?id=1536491 | ||||
patch -p1 < ../FixRpiUnalignedFpAccess.diff | patch -p1 < ../FixRpiUnalignedFpAccess.diff | ||||
# Patch those separately, as they might interfere with normal behaviour. | |||||
if [ "$(uname -s)" = "FreeBSD" ]; | |||||
then | |||||
# https://svnweb.freebsd.org/ports/head/lang/spidermonkey78/files/patch-js_moz.configure?view=log | |||||
patch -p1 < ../FixFreeBSDReadlineDetection.diff | |||||
# https://svnweb.freebsd.org/ports/head/lang/spidermonkey78/files/patch-third__party_rust_cc_.cargo-checksum.json?view=log | |||||
patch -p1 < ../FixFreeBSDCargoChecksum.diff | |||||
# https://svnweb.freebsd.org/ports/head/lang/spidermonkey78/files/patch-third__party_rust_cc_src_lib.rs?view=log | |||||
patch -p1 < ../FixFreeBSDRustThirdPartyOSDetection.diff | |||||
fi |
Wildfire Games · Phabricator