summaryrefslogtreecommitdiff
path: root/net/asterisk11/files/patch-main__lock.c
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2015-02-07 00:09:35 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2015-02-07 00:09:35 +0000
commitb4ea8bc6867f104a19b5a9dace56d3388f012ccc (patch)
treeb80fbaf28f396ee2e47ba7f9a81ddd56403e81a1 /net/asterisk11/files/patch-main__lock.c
parentFix CVE name for www/chromium entry (diff)
- Update net/asterisk11 to 11.16.0
- Update net/asterisk13 to 13.2.0
Notes
Notes: svn path=/head/; revision=378571
Diffstat (limited to 'net/asterisk11/files/patch-main__lock.c')
-rw-r--r--net/asterisk11/files/patch-main__lock.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/asterisk11/files/patch-main__lock.c b/net/asterisk11/files/patch-main__lock.c
index a802d8817a1e..3621177e74ba 100644
--- a/net/asterisk11/files/patch-main__lock.c
+++ b/net/asterisk11/files/patch-main__lock.c
@@ -1,13 +1,12 @@
---- ./main/lock.c.orig 2010-11-06 15:00:15.000000000 +0100
-+++ ./main/lock.c 2010-11-06 15:00:23.000000000 +0100
-@@ -679,10 +679,6 @@
+--- main/lock.c.orig 2014-12-12 23:31:38 UTC
++++ main/lock.c
+@@ -701,9 +701,6 @@ int __ast_rwlock_init(int tracking, cons
+ #endif /* DEBUG_THREADS */
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;
+