Changeset f91b7bb
- Timestamp:
- 03/07/2024 02:30:48 AM (3 months ago)
- Branches:
- ken/TL2024, lazarus, trunk, xry111/llvm18
- Children:
- 7152c2b3
- Parents:
- c87567a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xsoft/graphweb/firefox.xml
rc87567a rf91b7bb 374 374 <screen><userinput remap="pre">patch -Np1 -i ../firefox-&firefox-version;-ffmpeg_6-1.patch</userinput></screen>--> 375 375 376 <!-- https://github.com/rust-lang/rust-bindgen/pull/2689 --> 377 <para> 378 Adapt the shipped <application>rust-bindgen</application> copy for 379 LLVM-18 and later, and tell <command>cargo</command> we've modified 380 the code of <application>rust-bindgen</application> so the checksum 381 verification of this crate should be skipped: 382 </para> 383 384 <screen><userinput>sed -e "/match cursor.kind()/a \ 385 CXCursor_LinkageSpec => return Err(ParseError::Recurse)," \ 386 -i third_party/rust/bindgen/ir/item.rs && 387 388 cat >> Cargo.toml << EOF && 389 <literal>[patch.crates-io.bindgen_0_64_0] 390 package = "bindgen" 391 version = "0.64.0" 392 path = "third_party/rust/bindgen"</literal> 393 EOF 394 395 sed -r '/name = "bindgen"/,+5 s/^source|^checksum/#&/' \ 396 -i Cargo.lock</userinput></screen> 397 398 <!-- https://hg.mozilla.org/mozilla-central/rev/ba6abbd36b49 --> 399 <para> 400 Adapt the WebRTC code to use 64-bit timestamp to fix a build 401 failure with Clang-18 and later: 402 </para> 403 404 <screen><userinput>sed 's/uint32_t timestamp/uint64_t timestamp/' \ 405 -i dom/media/gmp-plugin-openh264/gmp-fake-openh264.cpp \ 406 dom/media/gtest/TestGMPRemoveAndDelete.cpp \ 407 dom/media/webrtc/libwebrtcglue/WebrtcGmpVideoCodec.cpp && 408 409 sed '/mInputImageMap/s/uint32_t/uint64_t/' \ 410 -i dom/media/webrtc/libwebrtcglue/WebrtcGmpVideoCodec.h</userinput></screen> 411 376 412 <para> 377 413 Now invoke the Python <command>mach</command> script to compile the package.
Note:
See TracChangeset
for help on using the changeset viewer.