From cd7cc8241025492f992029e7692fcfe0cacb529e Mon Sep 17 00:00:00 2001
From: marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>
Date: Thu, 7 Feb 2008 04:22:55 +0000
Subject: * Fix the tty/VT mapping code to be more inline with the way the
 kernel   works [1] * Switch from using /dev/console to /dev/consolectl [1] *
 Remove hack to check if ttyv* devices are available.  We have other code   to
 do this now

Reviewed by:	bland [1]
Requested by:	bland [1]


git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10367 df743ca5-7f9a-e211-a948-0013205c9059
---
 sysutils/consolekit/files/patch-src_main.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

(limited to 'sysutils/consolekit/files/patch-src_main.c')

diff --git a/sysutils/consolekit/files/patch-src_main.c b/sysutils/consolekit/files/patch-src_main.c
index b1a661aa3..a791db0f9 100644
--- a/sysutils/consolekit/files/patch-src_main.c
+++ b/sysutils/consolekit/files/patch-src_main.c
@@ -1,21 +1,21 @@
---- src/main.c.orig	2007-11-08 15:05:55.000000000 -0500
-+++ src/main.c	2007-11-08 15:07:39.000000000 -0500
+--- src/main.c.orig        2007-11-08 15:05:55.000000000 -0500
++++ src/main.c        2007-11-08 15:07:39.000000000 -0500
 @@ -226,6 +226,21 @@ sigusr1_handler (int sig)
  }
  
  static void
 +setup_termination_signals (void)
 +{
-+	struct sigaction sa;
++        struct sigaction sa;
 +
-+	sa.sa_handler = SIG_DFL;
-+	sigemptyset (&sa.sa_mask);
-+	sa.sa_flags = 0;
++        sa.sa_handler = SIG_DFL;
++        sigemptyset (&sa.sa_mask);
++        sa.sa_flags = 0;
 +
-+	sigaction (SIGTERM, &sa, NULL);
-+	sigaction (SIGQUIT, &sa, NULL);
-+	sigaction (SIGINT, &sa, NULL);
-+	sigaction (SIGHUP, &sa, NULL);
++        sigaction (SIGTERM, &sa, NULL);
++        sigaction (SIGQUIT, &sa, NULL);
++        sigaction (SIGINT, &sa, NULL);
++        sigaction (SIGHUP, &sa, NULL);
 +}
 +
 +static void
@@ -26,7 +26,7 @@
  
          setup_debug_log (debug);
  
-+	setup_termination_signals ();
++        setup_termination_signals ();
 +
          connection = get_system_bus ();
          if (connection == NULL) {
-- 
cgit