$OpenBSD: patch-src_xine-engine_video_out_c,v 1.4 2007/06/13 10:58:29 jakemsr Exp $
--- src/xine-engine/video_out.c.orig	Tue Apr 17 08:44:03 2007
+++ src/xine-engine/video_out.c	Sun May 20 22:40:14 2007
@@ -1864,7 +1864,9 @@ xine_video_port_t *_x_vo_new_port (xine_t *xine, vo_dr
     this->grab_only            = 0;
     
     pthread_attr_init(&pth_attrs);
+#if !defined(__OpenBSD__)
     pthread_attr_setscope(&pth_attrs, PTHREAD_SCOPE_SYSTEM);
+#endif
     
     if ((err = pthread_create (&this->video_thread,
 			       &pth_attrs, video_out_loop, this)) != 0) {
