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>
This commit is contained in:
Yash Shinde 2025-07-21 06:05:23 -07:00 committed by Steve Sakoman
parent 95504518be
commit b4ecf098a6

File diff suppressed because one or more lines are too long