From: Khem Raj Date: Thu, 29 Dec 2022 19:09:18 +0000 (-0800) Subject: cargo: Do not use open64 on musl anymore X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2153 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44441c727a5301ab99ab8b4d8b8b1f61f0a810af;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cargo: Do not use open64 on musl anymore The same rust getrandom patch is needed for cargo on target as well as it uses the same crate Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/rust/cargo_1.66.0.bb b/meta/recipes-devtools/rust/cargo_1.66.0.bb index 37e0123ee3d..f45f8f1e12d 100644 --- a/meta/recipes-devtools/rust/cargo_1.66.0.bb +++ b/meta/recipes-devtools/rust/cargo_1.66.0.bb @@ -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 diff --git a/meta/recipes-devtools/rust/rust/getrandom-open64.patch b/meta/recipes-devtools/rust/files/getrandom-open64.patch similarity index 100% rename from meta/recipes-devtools/rust/rust/getrandom-open64.patch rename to meta/recipes-devtools/rust/files/getrandom-open64.patch