diff options
author | Yash Shinde <Yash.Shinde@windriver.com> | 2025-07-21 06:05:23 -0700 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-07-29 08:42:34 -0700 |
commit | b4ecf098a662a471439892cefac159f34ed7e7c1 (patch) | |
tree | 3e3e45c29e1983fc75fc195c58f1b7edd78f2e6a /bitbake/lib/bb/utils.py | |
parent | 95504518be8feb04357224fdf00c0b97f1d4acf7 (diff) | |
download | poky-b4ecf098a662a471439892cefac159f34ed7e7c1.tar.gz |
rust: Fix malformed hunk header in rustix patch
The rv32-cargo-rustix-0.38.38-fix.patch file contains a malformed hunk
header at line 83 (@ -71,10 +71,10 @@), where a single '@' is used
instead of the required '@@'. Due to this, the subsequent hunks are not
applied during patching.
This causes a compilation error in the rustix crate:
error[E0603]: constant import `FICLONE` is private
--> vendor/rustix-0.38.37/src/fs/ioctl.rs:82:57
|
82 | const OPCODE: ioctl::Opcode = ioctl::Opcode::old(c::FICLONE as ioctl::RawOpcode);
| ^^^^^^^ private constant import
Fixing the hunk header ensures the patch is applied correctly and
resolves the build issue.
(From OE-Core rev: 2e5234204922d08eba18812d297f469779d80c82)
Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'bitbake/lib/bb/utils.py')
0 files changed, 0 insertions, 0 deletions