diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2014-12-15 14:46:25 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2014-12-15 14:46:25 +0000 |
commit | 8962a0c995f536bdf7c495333fe2463b1113fab8 (patch) | |
tree | c77ea663141f2f8ae238f15729c86904e862740d /net/asterisk13/files/patch-main__lock.c | |
parent | PJSIP is a free and open source multimedia communication library (diff) |
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/
Diffstat (limited to 'net/asterisk13/files/patch-main__lock.c')
-rw-r--r-- | net/asterisk13/files/patch-main__lock.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/asterisk13/files/patch-main__lock.c b/net/asterisk13/files/patch-main__lock.c new file mode 100644 index 000000000000..32101d0f3514 --- /dev/null +++ b/net/asterisk13/files/patch-main__lock.c @@ -0,0 +1,13 @@ +--- 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; |