]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cargo: Do not use open64 on musl anymore
authorKhem Raj <raj.khem@gmail.com>
Thu, 29 Dec 2022 19:09:18 +0000 (11:09 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 31 Dec 2022 17:06:19 +0000 (17:06 +0000)
The same rust getrandom patch is needed for cargo on target as well
as it uses the same crate

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rust/cargo_1.66.0.bb
meta/recipes-devtools/rust/files/getrandom-open64.patch [moved from meta/recipes-devtools/rust/rust/getrandom-open64.patch with 100% similarity]

index 37e0123ee3d0e75d73e94f8c2cffe0496b0601f1..f45f8f1e12d7a119f9b166117856d644938fe3fe 100644 (file)
@@ -14,7 +14,10 @@ LIC_FILES_CHKSUM = " \
 require rust-source.inc
 require rust-snapshot.inc
 
-SRC_URI:append:class-target = " file://crossbeam_atomic.patch;patchdir=${RUSTSRC}"
+SRC_URI:append:class-target = "\
+    file://crossbeam_atomic.patch;patchdir=${RUSTSRC} \
+    file://getrandom-open64.patch;patchdir=${RUSTSRC} \                          
+"
 
 # Used by crossbeam_atomic.patch
 export TARGET_VENDOR