$OpenBSD: patch-src_xine-engine_video_out_c,v 1.2 2006/10/12 04:48:14 brad Exp $ --- src/xine-engine/video_out.c.orig Fri Mar 24 20:26:34 2006 +++ src/xine-engine/video_out.c Fri Sep 15 17:53:21 2006 @@ -1848,7 +1848,9 @@ xine_video_port_t *_x_vo_new_port (xine_ 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) {