From 04afc99ca51f0dea7ceec4ef8557d88530bc32aa Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 6 Mar 2026 21:18:10 +0000 Subject: Add support for static pie, update to latest versions --- musl/patches-others/gdb-17.1/0000-termios.diff | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 musl/patches-others/gdb-17.1/0000-termios.diff (limited to 'musl/patches-others/gdb-17.1/0000-termios.diff') diff --git a/musl/patches-others/gdb-17.1/0000-termios.diff b/musl/patches-others/gdb-17.1/0000-termios.diff new file mode 100644 index 0000000..b23f4b5 --- /dev/null +++ b/musl/patches-others/gdb-17.1/0000-termios.diff @@ -0,0 +1,18 @@ +diff -rU3 gdb-17.1.old/gdb/ser-unix.c gdb-17.1/gdb/ser-unix.c +--- gdb-17.1.old/gdb/ser-unix.c 2025-12-20 02:53:21.000000000 +0000 ++++ gdb-17.1/gdb/ser-unix.c 2026-03-03 08:17:32.599938159 +0000 +@@ -529,12 +529,12 @@ + /* Clear the current output baud rate and fill a new value. */ + tio.c_cflag &= ~CBAUD; + tio.c_cflag |= BOTHER; +- tio.c_ospeed = rate; ++ tio.__c_ospeed = rate; + + /* Clear the current input baud rate and fill a new value. */ + tio.c_cflag &= ~(CBAUD << IBSHIFT); + tio.c_cflag |= BOTHER << IBSHIFT; +- tio.c_ispeed = rate; ++ tio.__c_ispeed = rate; + + if (ioctl (fd, req_set, &tio) < 0) + perror_with_name (_("Can not set custom baud rate")); -- cgit v1.3.1