mcst-linux-kernel/patches-2024.06.26/gpm-1.20.7/0001-glibc-2.29-compat.patch

22 lines
787 B
Diff

--- orig/src/daemon/open_console.c 2020-01-29 15:54:07.681322429 +0300
+++ new/src/daemon/open_console.c 2020-01-29 15:56:35.676306019 +0300
@@ -19,6 +19,7 @@
*
********/
+#include <sys/sysmacros.h>
#include <fcntl.h> /* open and co. */
#include <sys/stat.h> /* stat() */
#include <sys/ioctl.h> /* ioctl */
--- orig/src/prog/gpm-root.y 2020-01-29 15:54:28.098320165 +0300
+++ new/src/prog/gpm-root.y 2020-01-29 15:57:06.046302652 +0300
@@ -1197,7 +1197,7 @@
/* reap your zombies */
childaction.sa_handler=reap_children;
#if defined(__GLIBC__)
- __sigemptyset(&childaction.sa_mask);
+ sigemptyset(&childaction.sa_mask);
#else /* __GLIBC__ */
childaction.sa_mask=0;
#endif /* __GLIBC__ */