mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-05 05:04:44 +02:00
cargo-c-native: Update 0.10.5 -> 0.10.13
cargo-c native version updated to stable version 0.10.13+cargo-0.88.0. https://crates.io/crates/cargo-c Drop the merged patch defining ioctl codes for riscv32 after the verion upgrade. (From OE-Core rev: 56abe99a953873853c726ee5a6458c4a65298a9c) Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
6c529c908c
commit
24cab297ed
File diff suppressed because it is too large
Load Diff
|
@ -1,38 +0,0 @@
|
|||
From 3665e73b2f087370f8058c12911996b109d8e93a Mon Sep 17 00:00:00 2001
|
||||
From: Dan Gohman <dev@sunfishcode.online>
|
||||
Date: Sun, 6 Apr 2025 05:22:49 -0700
|
||||
Subject: [PATCH] Define more ioctl codes on riscv32gc-unknown-linux-gnu
|
||||
|
||||
Define ioctl codes including `FICLONE` and `FS_IOC32_GETVERSION` on
|
||||
riscv32gc-unknown-linux-gnu.
|
||||
|
||||
Upstream-Status: Backport [https://github.com/rust-lang/libc/commit/4b439b0953573e0383da7e092b1f516ba21f3398]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/unix/linux_like/linux/arch/generic/mod.rs | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/unix/linux_like/linux/arch/generic/mod.rs b/src/unix/linux_like/linux/arch/generic/mod.rs
|
||||
index 2f437e1..fdac4bb 100644
|
||||
--- a/src/unix/linux_like/linux/arch/generic/mod.rs
|
||||
+++ b/src/unix/linux_like/linux/arch/generic/mod.rs
|
||||
@@ -114,6 +114,7 @@ cfg_if! {
|
||||
target_arch = "x86_64",
|
||||
target_arch = "arm",
|
||||
target_arch = "aarch64",
|
||||
+ target_arch = "riscv32",
|
||||
target_arch = "riscv64",
|
||||
target_arch = "s390x",
|
||||
target_arch = "csky",
|
||||
@@ -218,7 +219,10 @@ cfg_if! {
|
||||
// where S stands for size (int, long, struct...)
|
||||
// where T stands for type ('f','v','X'...)
|
||||
// where N stands for NR (NumbeR)
|
||||
- if #[cfg(any(target_arch = "x86", target_arch = "arm", target_arch = "csky"))] {
|
||||
+ if #[cfg(any(target_arch = "x86",
|
||||
+ target_arch = "arm",
|
||||
+ target_arch = "csky",
|
||||
+ target_arch = "riscv32"))] {
|
||||
pub const FS_IOC_GETFLAGS: ::Ioctl = 0x80046601;
|
||||
pub const FS_IOC_SETFLAGS: ::Ioctl = 0x40046602;
|
||||
pub const FS_IOC_GETVERSION: ::Ioctl = 0x80047601;
|
|
@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = " \
|
|||
"
|
||||
|
||||
SRC_URI = "crate://crates.io/cargo-c/${PV};name=cargo-c"
|
||||
SRC_URI += "file://0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch;patchdir=${CARGO_VENDORING_DIRECTORY}/libc-0.2.161"
|
||||
SRC_URI[cargo-c.sha256sum] = "5bfa9ba93806384d940e71dafbc185316e0a6a47561b33b7105fcf67f99df70a"
|
||||
SRC_URI[cargo-c.sha256sum] = "bd11efb38aee5930cabfe8d41465f22859b2af9071fa04d3642814cf1cc2bc75"
|
||||
S = "${CARGO_VENDORING_DIRECTORY}/cargo-c-${PV}"
|
||||
|
||||
inherit cargo cargo-update-recipe-crates pkgconfig
|
Loading…
Reference in New Issue
Block a user