diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 15 | ||||
-rw-r--r-- | builtin_js.patch | 21 |
3 files changed, 36 insertions, 4 deletions
@@ -68,6 +68,7 @@ pkgbase = librewolf-nightly source_x86_64 = remove_addons.patch source_x86_64 = context-menu.patch source_x86_64 = mozilla-vpn-ad.patch + source_x86_64 = builtin_js.patch sha512sums_x86_64 = SKIP sha512sums_x86_64 = 65240292835fd82f35b6618ad6aa3ea62a22f6ff7a1675a1054097c6645f9df969ca317a554d4a05a261f41741326234e608f8accf2d8b5effb87e27885e38d1 sha512sums_x86_64 = SKIP @@ -75,6 +76,7 @@ pkgbase = librewolf-nightly sha512sums_x86_64 = 861e692daf2be7239eb6b61435688a7abed2bef198067f5b3a9c1a44d8316d1e547c06e1bfb45be402c4c38b1bf13018ba594d433c1b70da6296bd5b90b0fbe3 sha512sums_x86_64 = 5f7da8d54065c009f94c60eb9aa99d4d44d75b27800bcad5e9f2a365e0c853cb234c871c54855522598b1fe26669bd42a302705ac385d536c90f4ec199cf1df6 sha512sums_x86_64 = 43d008c63a6b90a3710c4e1bf6ccebcb0987316213fa993fd1bd4b47d9a5d553f51471467c9d9ab454911b9d6fb575e3035cd7a3f9e61dbb72fe3b0a3b20a066 + sha512sums_x86_64 = 25c9fa51d0ebfeea9ad88c83325dae1d0643499253946278ffeaf04b7d1aad61a76e24a5b0e1689877fa6fd5ca67135006dd8edecb54418012c826f94ca22555 source_aarch64 = hg+https://hg.mozilla.org/mozilla-unified#revision=autoland source_aarch64 = librewolf-nightly.desktop source_aarch64 = git+https://gitlab.com/vnepogodin/librewolf-common.git @@ -84,6 +86,7 @@ pkgbase = librewolf-nightly source_aarch64 = arm.patch source_aarch64 = build-arm-libopus.patch source_aarch64 = mozilla-vpn-ad.patch + source_aarch64 = builtin_js.patch sha512sums_aarch64 = SKIP sha512sums_aarch64 = 65240292835fd82f35b6618ad6aa3ea62a22f6ff7a1675a1054097c6645f9df969ca317a554d4a05a261f41741326234e608f8accf2d8b5effb87e27885e38d1 sha512sums_aarch64 = SKIP @@ -93,6 +96,7 @@ pkgbase = librewolf-nightly sha512sums_aarch64 = 7c2f0c792eb5744eaf0f2ee7c0887a74118796d691029e824451b063d5ba9e65626617ad343f69837297b2002446e02ac1d5ab3bc470419ae092424abf08293f sha512sums_aarch64 = 6d464cce32cb2e440fb137666aeefec1240bcbdfdef0e8633e0fbe22e2214446b2c992ee2c8716c682a42fcd1d66d9fdf1d6d5b40f8ec3b0eeec5ca9e3f1aa35 sha512sums_aarch64 = 43d008c63a6b90a3710c4e1bf6ccebcb0987316213fa993fd1bd4b47d9a5d553f51471467c9d9ab454911b9d6fb575e3035cd7a3f9e61dbb72fe3b0a3b20a066 + sha512sums_aarch64 = 25c9fa51d0ebfeea9ad88c83325dae1d0643499253946278ffeaf04b7d1aad61a76e24a5b0e1689877fa6fd5ca67135006dd8edecb54418012c826f94ca22555 pkgname = librewolf-nightly @@ -39,7 +39,8 @@ source_x86_64=("hg+$_repo#revision=autoland" "git+https://gitlab.com/vnepogodin/librewolf-settings.git" remove_addons.patch context-menu.patch - mozilla-vpn-ad.patch) + mozilla-vpn-ad.patch + builtin_js.patch) source_aarch64=("hg+$_repo#revision=autoland" $pkgname.desktop "git+https://gitlab.com/vnepogodin/librewolf-common.git" @@ -48,7 +49,8 @@ source_aarch64=("hg+$_repo#revision=autoland" context-menu.patch arm.patch build-arm-libopus.patch - mozilla-vpn-ad.patch) + mozilla-vpn-ad.patch + builtin_js.patch) sha512sums_x86_64=('SKIP' '65240292835fd82f35b6618ad6aa3ea62a22f6ff7a1675a1054097c6645f9df969ca317a554d4a05a261f41741326234e608f8accf2d8b5effb87e27885e38d1' @@ -56,7 +58,8 @@ sha512sums_x86_64=('SKIP' 'SKIP' '861e692daf2be7239eb6b61435688a7abed2bef198067f5b3a9c1a44d8316d1e547c06e1bfb45be402c4c38b1bf13018ba594d433c1b70da6296bd5b90b0fbe3' '5f7da8d54065c009f94c60eb9aa99d4d44d75b27800bcad5e9f2a365e0c853cb234c871c54855522598b1fe26669bd42a302705ac385d536c90f4ec199cf1df6' - '43d008c63a6b90a3710c4e1bf6ccebcb0987316213fa993fd1bd4b47d9a5d553f51471467c9d9ab454911b9d6fb575e3035cd7a3f9e61dbb72fe3b0a3b20a066') + '43d008c63a6b90a3710c4e1bf6ccebcb0987316213fa993fd1bd4b47d9a5d553f51471467c9d9ab454911b9d6fb575e3035cd7a3f9e61dbb72fe3b0a3b20a066' + '25c9fa51d0ebfeea9ad88c83325dae1d0643499253946278ffeaf04b7d1aad61a76e24a5b0e1689877fa6fd5ca67135006dd8edecb54418012c826f94ca22555') sha512sums_aarch64=('SKIP' '65240292835fd82f35b6618ad6aa3ea62a22f6ff7a1675a1054097c6645f9df969ca317a554d4a05a261f41741326234e608f8accf2d8b5effb87e27885e38d1' 'SKIP' @@ -65,7 +68,8 @@ sha512sums_aarch64=('SKIP' '5f7da8d54065c009f94c60eb9aa99d4d44d75b27800bcad5e9f2a365e0c853cb234c871c54855522598b1fe26669bd42a302705ac385d536c90f4ec199cf1df6' '7c2f0c792eb5744eaf0f2ee7c0887a74118796d691029e824451b063d5ba9e65626617ad343f69837297b2002446e02ac1d5ab3bc470419ae092424abf08293f' '6d464cce32cb2e440fb137666aeefec1240bcbdfdef0e8633e0fbe22e2214446b2c992ee2c8716c682a42fcd1d66d9fdf1d6d5b40f8ec3b0eeec5ca9e3f1aa35' - '43d008c63a6b90a3710c4e1bf6ccebcb0987316213fa993fd1bd4b47d9a5d553f51471467c9d9ab454911b9d6fb575e3035cd7a3f9e61dbb72fe3b0a3b20a066') + '43d008c63a6b90a3710c4e1bf6ccebcb0987316213fa993fd1bd4b47d9a5d553f51471467c9d9ab454911b9d6fb575e3035cd7a3f9e61dbb72fe3b0a3b20a066' + '25c9fa51d0ebfeea9ad88c83325dae1d0643499253946278ffeaf04b7d1aad61a76e24a5b0e1689877fa6fd5ca67135006dd8edecb54418012c826f94ca22555') pkgver() { cd mozilla-unified @@ -178,6 +182,9 @@ ac_add_options --enable-optimize END fi + # Fix build-time error + patch -p1 -i ../builtin_js.patch + # Remove some pre-installed addons that might be questionable patch -p1 -i ../remove_addons.patch diff --git a/builtin_js.patch b/builtin_js.patch new file mode 100644 index 000000000000..a984fefa7fc5 --- /dev/null +++ b/builtin_js.patch @@ -0,0 +1,21 @@ +diff --git a/js/src/builtin/TestingFunctions.cpp b/js/src/builtin/TestingFunctions.cpp +index 9189ceb214..eee87893e4 100644 +--- a/js/src/builtin/TestingFunctions.cpp ++++ b/js/src/builtin/TestingFunctions.cpp +@@ -7382,16 +7382,6 @@ JS_FOR_WASM_FEATURES(WASM_FEATURE, WASM_FEATURE) + "helperThreadCount()", + " Returns the number of helper threads available for off-thread tasks."), + +- JS_FN_HELP("createShapeSnapshot", CreateShapeSnapshot, 1, 0, +-"createShapeSnapshot(obj)", +-" Returns an object containing a shape snapshot for use with\n" +-" checkShapeSnapshot.\n"), +- +- JS_FN_HELP("checkShapeSnapshot", CheckShapeSnapshot, 2, 0, +-"checkShapeSnapshot(snapshot, [obj])", +-" Check shape invariants based on the given snapshot and optional object.\n" +-" If there's no object argument, the snapshot's object is used.\n"), +- + JS_FN_HELP("enableShapeConsistencyChecks", EnableShapeConsistencyChecks, 0, 0, + "enableShapeConsistencyChecks()", + " Enable some slow Shape assertions.\n"), |