$OpenBSD: patch-src_xine-engine_audio_out_c,v 1.1.1.1 2006/03/24 22:43:41 jakemsr Exp $
--- src/xine-engine/audio_out.c.orig	Sat Oct 29 19:18:35 2005
+++ src/xine-engine/audio_out.c	Mon Jan  9 20:55:41 2006
@@ -2152,7 +2152,9 @@ xine_audio_port_t *_x_ao_new_port (xine_
     this->audio_loop_running = 1;  
     
     pthread_attr_init(&pth_attrs);
+#if !defined(__OpenBSD__)
     pthread_attr_setscope(&pth_attrs, PTHREAD_SCOPE_SYSTEM);
+#endif
 
     this->audio_thread_created = 1;
     if ((err = pthread_create (&this->audio_thread,
