diff options
author | Chris Severance | 2023-12-18 22:01:41 -0500 |
---|---|---|
committer | Chris Severance | 2023-12-18 22:01:41 -0500 |
commit | a8597085c66a8095c918b59f1712b697ee260fb0 (patch) | |
tree | 67843b816edbf0fa8646281fd14a0e72fad8f1be /0013-kernel-6.0-set_termios-const-ktermios.patch | |
parent | 1475034c69211e1f64f1979bef80630eab659420 (diff) | |
download | aur-dgrp.tar.gz |
autu: Update to 1.9.41-2
Diffstat (limited to '0013-kernel-6.0-set_termios-const-ktermios.patch')
-rw-r--r-- | 0013-kernel-6.0-set_termios-const-ktermios.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/0013-kernel-6.0-set_termios-const-ktermios.patch b/0013-kernel-6.0-set_termios-const-ktermios.patch index d82721f19b5c..c499262e9cac 100644 --- a/0013-kernel-6.0-set_termios-const-ktermios.patch +++ b/0013-kernel-6.0-set_termios-const-ktermios.patch @@ -7,7 +7,7 @@ diff -pNaru5 a/driver/2.6.27/dgrp_tty.c b/driver/2.6.27/dgrp_tty.c #else static int dgrp_tty_ioctl(struct tty_struct *, unsigned int, unsigned long); #endif -+#if LINUX_VERSION_CODE < KERNEL_VERSION(6,0,0) ++#if LINUX_VERSION_CODE < KERNEL_VERSION(6,1,0) static void dgrp_tty_set_termios(struct tty_struct *, struct ktermios *); +#else +static void dgrp_tty_set_termios(struct tty_struct *, const struct ktermios *); @@ -23,7 +23,7 @@ diff -pNaru5 a/driver/2.6.27/dgrp_tty.c b/driver/2.6.27/dgrp_tty.c * So we need to make sure that our copies of ch_oflag, * ch_clag, and ch_iflag reflect the tty->termios flags. */ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(6,0,0) ++#if LINUX_VERSION_CODE < KERNEL_VERSION(6,1,0) static void dgrp_tty_set_termios(struct tty_struct *tty, struct ktermios *old) +#else +static void dgrp_tty_set_termios(struct tty_struct *tty, const struct ktermios *old) |