Adam Majer
15af887b03
- decls.patch: fix missing declarations OBS-URL: https://build.opensuse.org/request/show/513174 OBS-URL: https://build.opensuse.org/package/show/Base:System/gpm?expand=0&rev=46
26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
Index: gpm-1.20.7/src/daemon/open_console.c
|
|
===================================================================
|
|
--- gpm-1.20.7.orig/src/daemon/open_console.c
|
|
+++ gpm-1.20.7/src/daemon/open_console.c
|
|
@@ -22,6 +22,7 @@
|
|
#include <fcntl.h> /* open and co. */
|
|
#include <sys/stat.h> /* stat() */
|
|
#include <sys/ioctl.h> /* ioctl */
|
|
+#include <sys/sysmacros.h> /* major */
|
|
|
|
/* Linux specific (to be outsourced in gpm2 */
|
|
#include <linux/serial.h> /* for serial console check */
|
|
Index: gpm-1.20.7/src/prog/gpm-root.y
|
|
===================================================================
|
|
--- gpm-1.20.7.orig/src/prog/gpm-root.y
|
|
+++ gpm-1.20.7/src/prog/gpm-root.y
|
|
@@ -1196,7 +1196,7 @@ int main(int argc, char **argv)
|
|
/* 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__ */
|