diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-02-23 03:17:47 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-02-23 03:17:47 +0800 |
commit | 72b9440cd4449b64d9ff697341d6fd82a811de32 (patch) | |
tree | c81e17f308889d85b5cb113aef01cb7984072e1d /sysutils/consolekit/files/patch-src_ck-sysdeps-unix.c | |
parent | 3f7c35ea164ccce1ea5736199d7c374ee75f2bb7 (diff) | |
download | marcuscom-ports-72b9440cd4449b64d9ff697341d6fd82a811de32.tar marcuscom-ports-72b9440cd4449b64d9ff697341d6fd82a811de32.tar.gz marcuscom-ports-72b9440cd4449b64d9ff697341d6fd82a811de32.tar.bz2 marcuscom-ports-72b9440cd4449b64d9ff697341d6fd82a811de32.tar.lz marcuscom-ports-72b9440cd4449b64d9ff697341d6fd82a811de32.tar.xz marcuscom-ports-72b9440cd4449b64d9ff697341d6fd82a811de32.tar.zst marcuscom-ports-72b9440cd4449b64d9ff697341d6fd82a811de32.zip |
Update to 0.4.4.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15271 df743ca5-7f9a-e211-a948-0013205c9059
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, 18 insertions, 0 deletions
diff --git a/sysutils/consolekit/files/patch-src_ck-sysdeps-unix.c b/sysutils/consolekit/files/patch-src_ck-sysdeps-unix.c new file mode 100644 index 000000000..e256e9f36 --- /dev/null +++ b/sysutils/consolekit/files/patch-src_ck-sysdeps-unix.c @@ -0,0 +1,18 @@ +--- 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"); |