03b8f5bd01
Make sure we don't try and use /proc. s/KERN_PROC2/KERN_PROC ok jasper@
18 lines
725 B
Plaintext
18 lines
725 B
Plaintext
$OpenBSD: patch-src_ck-vt-monitor_c,v 1.3 2011/04/28 13:08:33 ajacoutot Exp $
|
|
|
|
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.
|
|
|
|
--- 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)
|
|
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)
|
|
/*
|