diff options
Diffstat (limited to 'sysutils/consolekit/files/patch-src_ck-sysdeps-unix.c')
-rw-r--r-- | sysutils/consolekit/files/patch-src_ck-sysdeps-unix.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sysutils/consolekit/files/patch-src_ck-sysdeps-unix.c b/sysutils/consolekit/files/patch-src_ck-sysdeps-unix.c deleted file mode 100644 index e256e9f36..000000000 --- a/sysutils/consolekit/files/patch-src_ck-sysdeps-unix.c +++ /dev/null @@ -1,18 +0,0 @@ ---- src/ck-sysdeps-unix.c.orig 2008-02-06 22:59:55.000000000 -0500 -+++ src/ck-sysdeps-unix.c 2008-02-06 22:52:34.000000000 -0500 -@@ -172,6 +172,15 @@ ck_get_a_console_fd (void) - - fd = -1; - -+#ifdef __FreeBSD__ -+ /* On FreeBSD, try /dev/consolectl first as this will survive -+ * /etc/ttys initialization. */ -+ fd = open_a_console ("/dev/consolectl"); -+ if (fd >= 0) { -+ goto done; -+ } -+#endif -+ - #ifdef __sun - /* On Solaris, first try Sun VT device. */ - fd = open_a_console ("/dev/vt/active"); |