$OpenBSD: patch-src_xine-engine_video_out_c,v 1.7 2010/03/21 01:41:15 sthen Exp $
--- src/xine-engine/video_out.c.orig	Tue Feb 23 16:57:24 2010
+++ src/xine-engine/video_out.c	Tue Feb 23 19:29:39 2010
@@ -1908,7 +1908,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) {
