aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2010-11-30 16:56:35 +0000
committerMax Khon <fjoe@FreeBSD.org>2010-11-30 16:56:35 +0000
commitc63b2c0d27fa9adf53da666d8ad84ee5ca6572ed (patch)
treefc989abec4298cd68f52b00bb151bc752d7ccff7
parent48739d26c4b504575d94ab0471c8ed240559bbe2 (diff)
downloadports-c63b2c0d27fa9adf53da666d8ad84ee5ca6572ed.tar.gz
ports-c63b2c0d27fa9adf53da666d8ad84ee5ca6572ed.zip
Update to 1.6.2.14.
Submitted by: Florian Smeets (MAINTAINER)
Notes
Notes: svn path=/head/; revision=265460
-rw-r--r--net/asterisk16/Makefile3
-rw-r--r--net/asterisk16/distinfo5
-rw-r--r--net/asterisk16/files/patch-include__asterisk__lock.h24
-rw-r--r--net/asterisk16/files/patch-utils__extconf.c13
-rw-r--r--net/asterisk16/pkg-plist1
5 files changed, 41 insertions, 5 deletions
diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile
index 1f9a0fe7abae..19d2e0493ef7 100644
--- a/net/asterisk16/Makefile
+++ b/net/asterisk16/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= asterisk
-PORTVERSION= 1.6.2.13
-PORTREVISION= 2
+PORTVERSION= 1.6.2.14
CATEGORIES= net
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
diff --git a/net/asterisk16/distinfo b/net/asterisk16/distinfo
index 606126e6350c..5bc92810f1a7 100644
--- a/net/asterisk16/distinfo
+++ b/net/asterisk16/distinfo
@@ -1,3 +1,2 @@
-MD5 (asterisk-1.6.2.13.tar.gz) = 1e184a4d9301e2e4b9de3bc98b507d4f
-SHA256 (asterisk-1.6.2.13.tar.gz) = 28bb18e988d22557ee77220cb33209212af1e618348c3d42666f785da517c01e
-SIZE (asterisk-1.6.2.13.tar.gz) = 23679304
+SHA256 (asterisk-1.6.2.14.tar.gz) = 344fc0c4d0bb5488084aee7c2068b9efe21ec0fa183f41a4c3608e64fa38f332
+SIZE (asterisk-1.6.2.14.tar.gz) = 23715262
diff --git a/net/asterisk16/files/patch-include__asterisk__lock.h b/net/asterisk16/files/patch-include__asterisk__lock.h
new file mode 100644
index 000000000000..acb7242ef00e
--- /dev/null
+++ b/net/asterisk16/files/patch-include__asterisk__lock.h
@@ -0,0 +1,24 @@
+--- ./include/asterisk/lock.h.orig 2010-11-12 17:01:29.000000000 +0100
++++ ./include/asterisk/lock.h 2010-11-12 17:01:38.000000000 +0100
+@@ -1049,10 +1049,6 @@
+ t->tracking = tracking;
+ 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;
+@@ -1801,10 +1797,6 @@
+
+ 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(prwlock, &attr);
+ pthread_rwlockattr_destroy(&attr);
+ return res;
diff --git a/net/asterisk16/files/patch-utils__extconf.c b/net/asterisk16/files/patch-utils__extconf.c
new file mode 100644
index 000000000000..29b53d1dadd3
--- /dev/null
+++ b/net/asterisk16/files/patch-utils__extconf.c
@@ -0,0 +1,13 @@
+--- ./utils/extconf.c.orig 2010-11-12 16:49:46.000000000 +0100
++++ ./utils/extconf.c 2010-11-12 16:50:00.000000000 +0100
+@@ -718,10 +718,6 @@
+
+ pthread_rwlockattr_init(&attr);
+
+-#ifdef HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NP
+- pthread_rwlockattr_setkind_np(&attr, PTHREAD_RWLOCK_PREFER_WRITER_NP);
+-#endif
+-
+ return pthread_rwlock_init(prwlock, &attr);
+ }
+
diff --git a/net/asterisk16/pkg-plist b/net/asterisk16/pkg-plist
index 656f3aafdeb5..4b0971771318 100644
--- a/net/asterisk16/pkg-plist
+++ b/net/asterisk16/pkg-plist
@@ -321,6 +321,7 @@ include/asterisk/privacy.h
include/asterisk/res_odbc.h
include/asterisk/rtp.h
include/asterisk/say.h
+include/asterisk/select.h
include/asterisk/sched.h
include/asterisk/sha1.h
include/asterisk/slin.h