commit: 9b62d8f668160602522860d80a21d9e0d7c0bdf8 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Oct 1 23:02:59 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Oct 1 23:02:59 2025 +0000 URL: https://gitweb.gentoo.org/proj/toolchain/linux-headers-patches.git/commit/?id=9b62d8f6
6.16: fix termio patches Bug: https://bugs.gentoo.org/961769 Bug: https://bugs.gentoo.org/962600 Signed-off-by: Sam James <sam <AT> gentoo.org> ...n-t-reference-obsolete-termio-struct-for-TC-.patch | 19 +++++++++---------- ...n-t-reference-obsolete-termio-struct-for-TC-.patch | 18 +++++++++--------- ...on-t-reference-obsolete-termio-struct-for-TC.patch | 18 ++++++++++-------- 3 files changed, 28 insertions(+), 27 deletions(-) diff --git a/6.16/00_all-0004-alpha-don-t-reference-obsolete-termio-struct-for-TC-.patch b/6.16/00_all-0004-alpha-don-t-reference-obsolete-termio-struct-for-TC-.patch index d5a5e1f..d42fad3 100644 --- a/6.16/00_all-0004-alpha-don-t-reference-obsolete-termio-struct-for-TC-.patch +++ b/6.16/00_all-0004-alpha-don-t-reference-obsolete-termio-struct-for-TC-.patch @@ -1,10 +1,8 @@ -From b6a724419773598d75ace5629bf4b05726d45218 Mon Sep 17 00:00:00 2001 -Message-ID: <b6a724419773598d75ace5629bf4b05726d45218.1759348574.git....@gentoo.org> -In-Reply-To: <fc2e8775d55f43e08eb79d326d6fdd89291898dd.1759348574.git....@gentoo.org> -References: <fc2e8775d55f43e08eb79d326d6fdd89291898dd.1759348574.git....@gentoo.org> +From 99f1a93cf8cd4f0ece8611be2860677084663aac Mon Sep 17 00:00:00 2001 +Message-ID: <99f1a93cf8cd4f0ece8611be2860677084663aac.1759359739.git....@gentoo.org> From: Sam James <[email protected]> Date: Wed, 1 Oct 2025 20:37:40 +0100 -Subject: [PATCH 2/3] alpha: don't reference obsolete termio struct for TC* +Subject: [PATCH 1/3] alpha: don't reference obsolete termio struct for TC* constants Similar in nature to ab107276607af90b13a5994997e19b7b9731e251. glibc-2.42 @@ -17,13 +15,14 @@ This fixes building Python for example, which falls over like: Link: https://bugs.gentoo.org/961769 Link: https://bugs.gentoo.org/962600 Co-authored-by: Stian Halseth <[email protected]> +Co-authored-by: Magnus Lindholm <[email protected]> Signed-off-by: Sam James <[email protected]> --- arch/alpha/include/uapi/asm/ioctls.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/alpha/include/uapi/asm/ioctls.h b/arch/alpha/include/uapi/asm/ioctls.h -index 971311605288f..857e280f95d1e 100644 +index 971311605288f..a09d04b49cc65 100644 --- a/arch/alpha/include/uapi/asm/ioctls.h +++ b/arch/alpha/include/uapi/asm/ioctls.h @@ -23,10 +23,10 @@ @@ -34,10 +33,10 @@ index 971311605288f..857e280f95d1e 100644 -#define TCSETA _IOW('t', 24, struct termio) -#define TCSETAW _IOW('t', 25, struct termio) -#define TCSETAF _IOW('t', 28, struct termio) -+#define TCGETA 0x5405 -+#define TCSETA 0x5406 -+#define TCSETAW 0x5407 -+#define TCSETAF 0x5408 ++#define TCGETA 0x40127417 ++#define TCSETA 0x80127418 ++#define TCSETAW 0x80127419 ++#define TCSETAF 0x8012741c #define TCSBRK _IO('t', 29) #define TCXONC _IO('t', 30) diff --git a/6.16/00_all-0005-sparc-don-t-reference-obsolete-termio-struct-for-TC-.patch b/6.16/00_all-0005-sparc-don-t-reference-obsolete-termio-struct-for-TC-.patch index c89b944..9ea7c17 100644 --- a/6.16/00_all-0005-sparc-don-t-reference-obsolete-termio-struct-for-TC-.patch +++ b/6.16/00_all-0005-sparc-don-t-reference-obsolete-termio-struct-for-TC-.patch @@ -1,7 +1,7 @@ -From 3ffe89f049619167c17e2359ce9d8ea9270b76eb Mon Sep 17 00:00:00 2001 -Message-ID: <3ffe89f049619167c17e2359ce9d8ea9270b76eb.1759348574.git....@gentoo.org> -In-Reply-To: <fc2e8775d55f43e08eb79d326d6fdd89291898dd.1759348574.git....@gentoo.org> -References: <fc2e8775d55f43e08eb79d326d6fdd89291898dd.1759348574.git....@gentoo.org> +From e11ecaf723594bf01c66fc5c80c25bda0621f34f Mon Sep 17 00:00:00 2001 +Message-ID: <e11ecaf723594bf01c66fc5c80c25bda0621f34f.1759359739.git....@gentoo.org> +In-Reply-To: <99f1a93cf8cd4f0ece8611be2860677084663aac.1759359739.git....@gentoo.org> +References: <99f1a93cf8cd4f0ece8611be2860677084663aac.1759359739.git....@gentoo.org> From: Sam James <[email protected]> Date: Wed, 1 Oct 2025 20:38:16 +0100 Subject: [PATCH 3/3] sparc: don't reference obsolete termio struct for TC* @@ -23,7 +23,7 @@ Signed-off-by: Sam James <[email protected]> 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/sparc/include/uapi/asm/ioctls.h b/arch/sparc/include/uapi/asm/ioctls.h -index 7fd2f5873c9e7..b493dea7ca377 100644 +index 7fd2f5873c9e7..f26befbf690fb 100644 --- a/arch/sparc/include/uapi/asm/ioctls.h +++ b/arch/sparc/include/uapi/asm/ioctls.h @@ -5,10 +5,10 @@ @@ -34,10 +34,10 @@ index 7fd2f5873c9e7..b493dea7ca377 100644 -#define TCSETA _IOW('T', 2, struct termio) -#define TCSETAW _IOW('T', 3, struct termio) -#define TCSETAF _IOW('T', 4, struct termio) -+#define TCGETA 0x5405 -+#define TCSETA 0x5406 -+#define TCSETAW 0x5407 -+#define TCSETAF 0x5408 ++#define TCGETA 0x40125401 ++#define TCSETA 0x80125402 ++#define TCSETAW 0x80125403 ++#define TCSETAF 0x80125404 #define TCSBRK _IO('T', 5) #define TCXONC _IO('T', 6) #define TCFLSH _IO('T', 7) diff --git a/6.16/00_all_0003-parisc-don-t-reference-obsolete-termio-struct-for-TC.patch b/6.16/00_all_0003-parisc-don-t-reference-obsolete-termio-struct-for-TC.patch index f7666ec..24fcff4 100644 --- a/6.16/00_all_0003-parisc-don-t-reference-obsolete-termio-struct-for-TC.patch +++ b/6.16/00_all_0003-parisc-don-t-reference-obsolete-termio-struct-for-TC.patch @@ -1,8 +1,10 @@ -From fc2e8775d55f43e08eb79d326d6fdd89291898dd Mon Sep 17 00:00:00 2001 -Message-ID: <fc2e8775d55f43e08eb79d326d6fdd89291898dd.1759348574.git....@gentoo.org> +From e567e380598a35683541853b0b38da9cc53098e4 Mon Sep 17 00:00:00 2001 +Message-ID: <e567e380598a35683541853b0b38da9cc53098e4.1759359739.git....@gentoo.org> +In-Reply-To: <99f1a93cf8cd4f0ece8611be2860677084663aac.1759359739.git....@gentoo.org> +References: <99f1a93cf8cd4f0ece8611be2860677084663aac.1759359739.git....@gentoo.org> From: Sam James <[email protected]> Date: Wed, 1 Oct 2025 20:34:53 +0100 -Subject: [PATCH 1/3] parisc: don't reference obsolete termio struct for TC* +Subject: [PATCH 2/3] parisc: don't reference obsolete termio struct for TC* constants Similar in nature to ab107276607af90b13a5994997e19b7b9731e251. glibc-2.42 @@ -21,7 +23,7 @@ Signed-off-by: Sam James <[email protected]> 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/parisc/include/uapi/asm/ioctls.h b/arch/parisc/include/uapi/asm/ioctls.h -index 82d1148c6379a..b90253c8265ae 100644 +index 82d1148c6379a..74b4027a4e808 100644 --- a/arch/parisc/include/uapi/asm/ioctls.h +++ b/arch/parisc/include/uapi/asm/ioctls.h @@ -10,10 +10,10 @@ @@ -32,10 +34,10 @@ index 82d1148c6379a..b90253c8265ae 100644 -#define TCSETA _IOW('T', 2, struct termio) -#define TCSETAW _IOW('T', 3, struct termio) -#define TCSETAF _IOW('T', 4, struct termio) -+#define TCGETA 0x5405 -+#define TCSETA 0x5406 -+#define TCSETAW 0x5407 -+#define TCSETAF 0x5408 ++#define TCGETA 0x40125401 ++#define TCSETA 0x80125402 ++#define TCSETAW 0x80125403 ++#define TCSETAF 0x80125404 #define TCSBRK _IO('T', 5) #define TCXONC _IO('T', 6) #define TCFLSH _IO('T', 7)
