~ubuntu-branches/ubuntu/raring/consolekit/raring

« back to all changes in this revision

Viewing changes to debian/patches/80-gnukfreebsd_support_configure.ac.patch

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-11-20 18:17:28 UTC
  • mfrom: (0.1.16 sid)
  • Revision ID: james.westby@ubuntu.com-20101120181728-8e5bwe4ttgmk4j41
Tags: 0.4.3-2
Add 01-retry-console-open-on-EIO.patch: As reported in LP: #544139,
ConsoleKit sometimes fails to track the active VT. This particular case
was tracked down to a race condition that happens if you try to open
/dev/console while the current TTY is currently being closed. This yields
an -EIO error, in which case CK should just try again. Thanks Colin Watson
for the patch!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: ConsoleKit-0.3.0/configure.ac
2
 
===================================================================
3
 
--- ConsoleKit-0.3.0.orig/configure.ac  2008-07-31 02:35:53.000000000 +0200
4
 
+++ ConsoleKit-0.3.0/configure.ac       2009-03-10 12:06:52.000000000 +0100
5
 
@@ -176,7 +176,7 @@
6
 
 CK_BACKEND=""
7
 
 KVM_LIBS=""
8
 
 case "$host" in
9
 
-        *-*-freebsd*)
10
 
+        *-*-freebsd* | *-*-kfreebsd*-gnu)
11
 
         CK_BACKEND="freebsd"
12
 
         AC_CHECK_LIB(kvm, kvm_openfiles, have_kvm=yes,
13
 
                 AC_MSG_ERROR([Unable to find libkvm which is needed on FreeBSD]))