diff options
author | Ben Kohler <bkohler@gentoo.org> | 2018-06-25 16:46:31 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2018-06-25 16:46:54 -0500 |
commit | a4c2852f58e899ed33c0744b0cd838c6857539ac (patch) | |
tree | db86ba71015571eecdabb8f06bae3f59549ac2a7 /sys-apps/kmscon/files | |
parent | net-analyzer/graphite-web: fix deps, re-add USE=ldap, misc. (diff) | |
download | gentoo-a4c2852f58e899ed33c0744b0cd838c6857539ac.tar.gz gentoo-a4c2852f58e899ed33c0744b0cd838c6857539ac.tar.bz2 gentoo-a4c2852f58e899ed33c0744b0cd838c6857539ac.zip |
sys-apps/kmscon: new (revived) package
Package-Manager: Portage-2.3.40, Repoman-2.3.9
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> |