$OpenBSD: patch-src_sphinxstd_cpp,v 1.2 2015/06/22 08:00:07 jasper Exp $
--- src/sphinxstd.cpp.orig	Fri Jun 19 10:44:21 2015
+++ src/sphinxstd.cpp	Fri Jun 19 10:44:36 2015
@@ -827,13 +827,6 @@ CSphProcessSharedMutex::CSphProcessSharedMutex ( int i
 		m_sError.SetSprintf ( "pthread_mutexattr_init, errno=%d", iRes );
 		return;
 	}
-	iRes = pthread_mutexattr_setpshared ( &tAttr, PTHREAD_PROCESS_SHARED );
-	if ( iRes )
-	{
-		m_sError.SetSprintf ( "pthread_mutexattr_setpshared, errno = %d", iRes );
-		pthread_mutexattr_destroy ( &tAttr );
-		return;
-	}
 
 	CSphString sError, sWarning;
 	if ( !m_pStorage.Alloc ( sizeof(pthread_mutex_t) + iExtraSize, sError, sWarning ) )
