diff options
Diffstat (limited to 'sys-apps/kmscon/files')
-rw-r--r-- | sys-apps/kmscon/files/kmscon-SIGUNUSED.patch | 14 | ||||
-rw-r--r-- | sys-apps/kmscon/files/kmscon-sysmacros-fix.patch | 11 |
2 files changed, 25 insertions, 0 deletions
diff --git a/sys-apps/kmscon/files/kmscon-SIGUNUSED.patch b/sys-apps/kmscon/files/kmscon-SIGUNUSED.patch new file mode 100644 index 000000000000..dc69f7700c67 --- /dev/null +++ b/sys-apps/kmscon/files/kmscon-SIGUNUSED.patch @@ -0,0 +1,14 @@ +diff -ur kmscon-8/src/pty.c kmscon-8.new/src/pty.c +--- kmscon-8/src/pty.c 2018-01-10 09:03:09.477962638 -0600 ++++ kmscon-8.new/src/pty.c 2018-01-10 09:04:21.620658836 -0600 +@@ -299,8 +299,10 @@ + if (ret) + log_warn("cannot reset blocked signals: %m"); + ++ #ifdef SIGUNUSED + for (i = 1; i < SIGUNUSED; ++i) + signal(i, SIG_DFL); ++ #endif + + ret = grantpt(master); + if (ret < 0) { diff --git a/sys-apps/kmscon/files/kmscon-sysmacros-fix.patch b/sys-apps/kmscon/files/kmscon-sysmacros-fix.patch new file mode 100644 index 000000000000..cd8a374e5ca1 --- /dev/null +++ b/sys-apps/kmscon/files/kmscon-sysmacros-fix.patch @@ -0,0 +1,11 @@ +diff -ur a/src/uterm_vt.c b/src/uterm_vt.c +--- a/src/uterm_vt.c 2017-08-12 12:14:46.213183769 -0500 ++++ b/src/uterm_vt.c 2017-08-12 12:16:12.011069210 -0500 +@@ -40,6 +40,7 @@ + #include <sys/ioctl.h> + #include <sys/signalfd.h> + #include <sys/stat.h> ++#include <sys/sysmacros.h> + #include <termios.h> + #include <time.h> + #include <unistd.h> |