[blfs] 02/02: spidermonkey: fix FTBFS with rustc-1.95
| Newsgroups | gmane.linux.lfs.beyond.book |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository blfs. commit 51a199cb126d839f56ce71aa3902c9bcf6b59c0a Author: Xi Ruoyao <[email protected]> AuthorDate: Tue Apr 28 22:17:44 2026 +0800 spidermonkey: fix FTBFS with rustc-1.95 --- general/genlib/spidermonkey.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/general/genlib/spidermonkey.xml b/general/genlib/spidermonkey.xml index 1f41ece916..eaaf611287 100644 --- a/general/genlib/spidermonkey.xml +++ b/general/genlib/spidermonkey.xml @@ -152,6 +152,17 @@ tar: Exiting with failure status due to previous errors <screen><userinput remap="pre">patch -Np1 -i ../spidermonkey-&spidermonkey-version;-python_3.14_fixes-1.patch</userinput></screen> + <para> + Next, fix building this package with rustc-1.95.0. Again the build + system needs a change to skip the checksum verification: + </para> + +<screen><userinput remap="pre">sed '/use super::/a use core::simd::Select;' \ + -i third_party/rust/encoding_rs/src/x_user_defined.rs && +sed '/patch.crates-io/a encoding_rs={path="third_party/rust/encoding_rs"}' \ + -i Cargo.toml && +sed '/name = "encoding_rs"/,/^$/{/source/d;/checksum/d}' -i Cargo.lock</userinput></screen> + <para> Install <application>SpiderMonkey</application> by running the following commands: -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/blfs-book Unsubscribe: See the above information page