freebsd-ports/net/asterisk13/files/patch-main__lock.c
Guido Falsi 8962a0c995 Add asterisk13 port.
Fix CONFLICTS for asterisk ports and remove long deleted entries
references.

Upstream announce: http://blogs.digium.com/2014/10/28/asterisk-13-0-0-now-available/
2014-12-15 14:46:25 +00:00

13 lines
386 B
C

--- main/lock.c.orig 2014-03-25 15:47:17 UTC
+++ main/lock.c
@@ -691,10 +691,6 @@ int __ast_rwlock_init(int tracking, cons
pthread_rwlockattr_init(&attr);
-#ifdef HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NP
- pthread_rwlockattr_setkind_np(&attr, PTHREAD_RWLOCK_PREFER_WRITER_NP);
-#endif
-
res = pthread_rwlock_init(&t->lock, &attr);
pthread_rwlockattr_destroy(&attr);
return res;