summaryrefslogtreecommitdiffstats
path: root/sys-apps/kbd/files/kbd-1.14-ds-nohost.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/kbd/files/kbd-1.14-ds-nohost.patch')
-rw-r--r--sys-apps/kbd/files/kbd-1.14-ds-nohost.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/kbd/files/kbd-1.14-ds-nohost.patch b/sys-apps/kbd/files/kbd-1.14-ds-nohost.patch
new file mode 100644
index 0000000..2ee1df0
--- /dev/null
+++ b/sys-apps/kbd/files/kbd-1.14-ds-nohost.patch
@@ -0,0 +1,12 @@
+diff -dPNur kbd-1.14.1/src/spawn_login.c kbd-1.14.1-new/src/spawn_login.c
+--- kbd-1.14.1/src/spawn_login.c 2008-03-13 17:46:23.000000000 +0100
++++ kbd-1.14.1-new/src/spawn_login.c 2008-07-04 22:59:25.000000000 +0200
+@@ -15,7 +15,7 @@
+
+ static void
+ sighup(int n) {
+- if (system("openvt -s -l -- login -h spawn") == -1) {
++ if (system("openvt -s -l -- login") == -1) {
+ perror("system");
+ exit(1);
+ }