From cca5261f3a9af632b3bfae0be3d90aaee1f35027 Mon Sep 17 00:00:00 2001 From: vasilito Date: Thu, 18 Jun 2026 11:06:21 +0300 Subject: [PATCH] fix(relibc): bump workspace redox_syscall to 0.8.1 too The P0-redox-ioctl-syscall-0.8.1.patch only bumped the redox-ioctl sub-crate's pin. The relibc main workspace still pinned redox_syscall = 0.7.4, causing relibc itself to fail to compile with redox-rt errors when the path-override in base pulled in the now-0.8.1 redox-ioctl. Bump the relibc workspace's redox_syscall to 0.8.1 to match. --- local/patches/relibc/P0-relibc-syscall-0.8.1.patch | 10 ++++++++++ recipes/core/relibc/recipe.toml | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 local/patches/relibc/P0-relibc-syscall-0.8.1.patch diff --git a/local/patches/relibc/P0-relibc-syscall-0.8.1.patch b/local/patches/relibc/P0-relibc-syscall-0.8.1.patch new file mode 100644 index 0000000000..b7478b3737 --- /dev/null +++ b/local/patches/relibc/P0-relibc-syscall-0.8.1.patch @@ -0,0 +1,10 @@ +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -68,7 +68,7 @@ plain = "0.2" + redox-path = "0.3" + redox_protocols = { package = "libredox", version = "0.1.16", default-features = false, features = ["protocol"] } +-redox_syscall = "0.7.4" ++redox_syscall = "0.8.1" + + [build-dependencies] + cc = "1" diff --git a/recipes/core/relibc/recipe.toml b/recipes/core/relibc/recipe.toml index 1c8a874f25..5829bb7678 100644 --- a/recipes/core/relibc/recipe.toml +++ b/recipes/core/relibc/recipe.toml @@ -2,6 +2,8 @@ git = "https://gitlab.redox-os.org/redox-os/relibc.git" rev = "861bbb0" patches = [ + # Bump relibc workspace redox_syscall pin to 0.8.1 (matches rest of build) + "P0-relibc-syscall-0.8.1.patch", # Bump redox-ioctl's redox_syscall pin to 0.8.1 (matches rest of build) "P3-eventfd-mod.patch", # Add pub mod bits_eventfd to header/mod.rs