2011-04-28 09:08:33 -04:00
|
|
|
$OpenBSD: patch-src_ck-vt-monitor_c,v 1.3 2011/04/28 13:08:33 ajacoutot Exp $
|
2010-07-05 02:51:40 -04:00
|
|
|
|
|
|
|
VT_WAITACTIVE started in a g_thread with our userland pthreads(3) makes
|
|
|
|
the main console-kit-daemon process waits forever on VT1, so are forced
|
|
|
|
to disable monitoring for console activation.
|
|
|
|
|
2011-04-28 09:08:33 -04:00
|
|
|
--- src/ck-vt-monitor.c.orig Wed Nov 17 01:50:46 2010
|
|
|
|
+++ src/ck-vt-monitor.c Tue Nov 30 15:30:22 2010
|
|
|
|
@@ -380,7 +380,7 @@ vt_add_watches (CkVtMonitor *vt_monitor)
|
2010-07-03 00:02:53 -04:00
|
|
|
int i;
|
|
|
|
gint32 current_num;
|
|
|
|
|
|
|
|
-#if defined (__sun) && !defined (HAVE_SYS_VT_H)
|
|
|
|
+#if defined (__sun) && !defined (HAVE_SYS_VT_H) || defined(__OpenBSD__)
|
|
|
|
/* Best to do nothing if VT is not supported */
|
|
|
|
#elif defined (__sun) && defined (HAVE_SYS_VT_H)
|
|
|
|
/*
|