dev-debug/rr: fix build w/ glibc-2.42

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-08-01 16:34:36 +01:00
parent bfac6b3ab3
commit 6659e812e7
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,20 @@
https://github.com/rr-debugger/rr/commit/6251648873b9e1ed23536beebbaa5d6fead3d5be
From 6251648873b9e1ed23536beebbaa5d6fead3d5be Mon Sep 17 00:00:00 2001
From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 29 Jul 2025 23:05:21 +1200
Subject: [PATCH] Stop checking struct sizes against glibc `termio` since that
has been removed.
Resolves #3995.
--- a/src/kernel_abi.h
+++ b/src/kernel_abi.h
@@ -750,7 +750,6 @@ struct BaseArch : public wordsize,
unsigned char c_line;
unsigned char c_cc[8];
};
- RR_VERIFY_TYPE(termio);
struct seccomp_notif_sizes {
uint16_t seccomp_notif;

View File

@ -54,6 +54,7 @@ RESTRICT="test" # toolchain and kernel version dependent
PATCHES=(
"${FILESDIR}"/${PN}-5.7.0-no-force-lto.patch
"${FILESDIR}"/${PN}-5.9.0-zen-workaround-service.patch
"${FILESDIR}"/${PN}-5.9.0-glibc-2.42-termio.patch
)
pkg_setup() {