[blfs] 02/02: spidermonkey: fix FTBFS with rustc-1.95

"Git Owner" ([email protected] via blfs-book Mailing List) <[email protected]>
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 &amp;&amp;
+sed '/patch.crates-io/a encoding_rs={path="third_party/rust/encoding_rs"}' \
+    -i Cargo.toml &amp;&amp;
+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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.