* mark python sqlite DEP opt and update .cache
[t2sde.git] / package / kernel / linux-header / hotfix-sparc-termbits.patch
blob05ff4ed2b9d530ab60119ac82990b880676d63f4
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/linux-header/hotfix-sparc-termbits.patch
3 # Copyright (C) 2023 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- linux-5.1/arch/sparc/include/uapi/asm/termbits.h.vanilla 2023-06-05 09:53:56.815902399 +0200
15 +++ linux-5.1/arch/sparc/include/uapi/asm/termbits.h 2023-06-05 09:57:59.105899474 +0200
16 @@ -13,16 +13,6 @@
17 typedef unsigned long tcflag_t;
18 #endif
20 -#define NCC 8
21 -struct termio {
22 - unsigned short c_iflag; /* input mode flags */
23 - unsigned short c_oflag; /* output mode flags */
24 - unsigned short c_cflag; /* control mode flags */
25 - unsigned short c_lflag; /* local mode flags */
26 - unsigned char c_line; /* line discipline */
27 - unsigned char c_cc[NCC]; /* control characters */
28 -};
30 #define NCCS 17
31 struct termios {
32 tcflag_t c_iflag; /* input mode flags */
33 --- linux-5.12/arch/sparc/include/uapi/asm/termios.h.vanilla 2023-09-01 14:43:29.850305917 +0200
34 +++ linux-5.12/arch/sparc/include/uapi/asm/termios.h 2023-09-01 14:45:14.160299059 +0200
35 @@ -40,5 +40,14 @@
36 unsigned short ws_ypixel;
39 +#define NCC 8
40 +struct termio {
41 + unsigned short c_iflag; /* input mode flags */
42 + unsigned short c_oflag; /* output mode flags */
43 + unsigned short c_cflag; /* control mode flags */
44 + unsigned short c_lflag; /* local mode flags */
45 + unsigned char c_line; /* line discipline */
46 + unsigned char c_cc[NCC]; /* control characters */
47 +};
49 #endif /* _UAPI_SPARC_TERMIOS_H */