* updated kmousetool (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / base / gpm / hotfix-glibc2.18.patch
blob9fb232a76dd56ac12d9242734c7889e5c6836e90
1 --- gpm-1.20.6/src/daemon/open_console.c.vanilla 2018-08-08 18:05:02.531843476 +0000
2 +++ gpm-1.20.6/src/daemon/open_console.c 2018-08-08 18:05:17.019843258 +0000
3 @@ -27,6 +27,7 @@
4 #include <linux/serial.h> /* for serial console check */
5 #include <asm/ioctls.h> /* for serial console check */
7 +#include <sys/sysmacros.h>
9 #include "headers/message.h" /* messaging in gpm */
10 #include "headers/daemon.h" /* daemon internals */
11 --- gpm-1.20.6/src/prog/gpm-root.y.vanilla 2018-08-08 18:07:26.435841312 +0000
12 +++ gpm-1.20.6/src/prog/gpm-root.y 2018-08-08 18:07:50.655840948 +0000
13 @@ -1197,7 +1197,7 @@
14 /* reap your zombies */
15 childaction.sa_handler=reap_children;
16 #if defined(__GLIBC__)
17 - __sigemptyset(&childaction.sa_mask);
18 + sigemptyset(&childaction.sa_mask);
19 #else /* __GLIBC__ */
20 childaction.sa_mask=0;
21 #endif /* __GLIBC__ */