Thu Aug 13 09:24:25 2020 UTC ()
asterisk16: Update to 16.12.0

Changelog:
 Bugs fixed in this release:

-----------------------------------
[ASTERISK-28878] -
		chan_pjsip: PJSIP_MEDIA_OFFER Broken asterisk 16
(Reported by Joseph Ades)
[ASTERISK-28965] -
		res_pjsip: Apply outbound proxy to static contacts on AOR
(Reported by Joshua C. Colp)
[ASTERISK-28930] -
		./configure --without-ssl build failure
(Reported by Jaco Kroon)
[ASTERISK-28886] -
		chan_pjsip: PJSIP_SC_NULL does not exist in pjproject 2.7.2
(Reported by Jared Smith)
[ASTERISK-28957] -
		chan_sip: chan_sip does not process 400 response to an INVITE.
(Reported by Frederic LE FOLL)
[ASTERISK-28888] -
		res_corosync: causes asterisk crash in huge distributed environment.
(Reported by Università di Bologna - CESIA VoIP)
[ASTERISK-28955] -
		"setvar" doesn't work properly in dahdi-channels.conf
(Reported by Marin Odrljin)
[ASTERISK-28954] -
		StreamEcho() only returns 1 active stream
(Reported by Bill Kervaski)
[ASTERISK-28942] -
		res_sorcery_memory_cache: Individual object expiration behaves unexpectedly with full backend caching
(Reported by Joshua C. Colp)
[ASTERISK-28953] -
		res_pjsip_session: Preserve stream label
(Reported by Joshua C. Colp)
[ASTERISK-28952] -
		Queue wrapuptime sometimes not respected (based on stale lastcall time)
(Reported by Walter Doekes)
[ASTERISK-28950] -
		Stale code in app_queue to check untouched channel
(Reported by Walter Doekes)
[ASTERISK-28644] -
		Stale comment in app_queue about ring_entry exception
(Reported by Walter Doekes)
[ASTERISK-28948] -
		ARI channel create doesn't referencing the channel_id parameter
(Reported by sungtae kim)
[ASTERISK-28938] -
		core_unreal / core_local: Add support for multistream and re-negotiation
(Reported by Joshua C. Colp)
[ASTERISK-28939] -
		res_rtp_asterisk: Don't have send/receive buffers on non-WebRTC
(Reported by Joshua C. Colp)
[ASTERISK-28944] -
		bridge_softmix: Transitioning a stream from inactive -> sendrecv/sendonly doesn't re-negotiation
(Reported by Joshua C. Colp)
[ASTERISK-28923] -
		T.38 Segfaults in chan_pjsip_queryoption
(Reported by Yury Kirsanov)
[ASTERISK-28940] -
		/channels/create doesn't get any parameters from the body
(Reported by sungtae kim)
[ASTERISK-28936] -
		res_pjsip: crash when dialing non-sip uri
(Reported by Walter Doekes)
[ASTERISK-28900] -
		res_fax: Double frame free when gateway in use with off-nominal format usage
(Reported by Gregory Massel)
[ASTERISK-28929] -
		pjproject_bundled: Honor --without-pjproject.
(Reported by Alexander Traud)
[ASTERISK-28932] -
		res_pjsip_logger writing too big packets
(Reported by nappsoft)
[ASTERISK-28921] -
		Wrong return value check for fwrite when writing to pcap file
(Reported by nappsoft)

Improvements made in this release:

-----------------------------------
[ASTERISK-28959] -
		res_pjsip: Added option for disable rport parameter set
(Reported by sungtae kim)
[ASTERISK-28958] -
		Continue reading string when ping received by websocket
(Reported by Nickolay V. Shmyrev)
[ASTERISK-28945] -
		AMI SendText - add Content-Type parameter
(Reported by Kevin Harwell)
[ASTERISK-28949] -
		res_http_websocket: Add masking to websocket client
(Reported by Moises Silva)
[ASTERISK-28899] -
		Upgrade Asterisk to bundled pjproject 2.10
(Reported by Kevin Harwell)


(ryoon)
diff -r1.66 -r1.67 pkgsrc/comms/asterisk16/Makefile
diff -r1.35 -r1.36 pkgsrc/comms/asterisk16/distinfo
diff -r1.2 -r1.3 pkgsrc/comms/asterisk16/patches/patch-configure
diff -r1.1 -r1.2 pkgsrc/comms/asterisk16/patches/patch-configure.ac

cvs diff -r1.66 -r1.67 pkgsrc/comms/asterisk16/Makefile (expand / switch to unified diff)

--- pkgsrc/comms/asterisk16/Makefile 2020/06/12 16:23:53 1.66
+++ pkgsrc/comms/asterisk16/Makefile 2020/08/13 09:24:25 1.67
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1# $NetBSD: Makefile,v 1.66 2020/06/12 16:23:53 ryoon Exp $ 1# $NetBSD: Makefile,v 1.67 2020/08/13 09:24:25 ryoon Exp $
2# 2#
3# NOTE: when updating this package, there are two places that sound 3# NOTE: when updating this package, there are two places that sound
4# tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile 4# tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile
5# to find out the current sound file versions 5# to find out the current sound file versions
6 6
7DISTNAME= asterisk-16.11.0 7DISTNAME= asterisk-16.12.0
8CATEGORIES= comms net audio 8CATEGORIES= comms net audio
9MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ 9MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/
10MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ 10MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
11MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/sounds/releases/ 11MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/sounds/releases/
12DIST_SUBDIR= ${PKGNAME_NOREV} 12DIST_SUBDIR= ${PKGNAME_NOREV}
13DISTFILES= ${DEFAULT_DISTFILES} 13DISTFILES= ${DEFAULT_DISTFILES}
14 14
15COMMENT= The Asterisk Software PBX 15COMMENT= The Asterisk Software PBX
16LICENSE= gnu-gpl-v2 16LICENSE= gnu-gpl-v2
17 17
18EXTRACT_ONLY= ${DISTNAME}.tar.gz 18EXTRACT_ONLY= ${DISTNAME}.tar.gz
19MAINTAINER= ryoon@NetBSD.org 19MAINTAINER= ryoon@NetBSD.org
20HOMEPAGE= https://www.asterisk.org/ 20HOMEPAGE= https://www.asterisk.org/
@@ -147,27 +147,27 @@ PLIST_VARS+= unbound @@ -147,27 +147,27 @@ PLIST_VARS+= unbound
147# unbound 1.5 or later is required.` 147# unbound 1.5 or later is required.`
148.if exists(/usr/include/unbound.h) && !empty(OS_VERSION:M9.*) 148.if exists(/usr/include/unbound.h) && !empty(OS_VERSION:M9.*)
149PLIST.unbound= yes 149PLIST.unbound= yes
150.else 150.else
151CONFIGURE_ARGS+= --without-unbound 151CONFIGURE_ARGS+= --without-unbound
152.endif 152.endif
153 153
154.include "options.mk" 154.include "options.mk"
155 155
156# check sounds/Makefile for current version when upgrading package 156# check sounds/Makefile for current version when upgrading package
157DISTFILES+= asterisk-extra-sounds-en-gsm-1.5.2.tar.gz 157DISTFILES+= asterisk-extra-sounds-en-gsm-1.5.2.tar.gz
158 158
159# pjproject 159# pjproject
160PJPROJ_VERSION= 2.9 160PJPROJ_VERSION= 2.10
161SITES.pjproject-${PJPROJ_VERSION}.tar.bz2= \ 161SITES.pjproject-${PJPROJ_VERSION}.tar.bz2= \
162 -https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/${PJPROJ_VERSION}/pjproject-${PJPROJ_VERSION}.tar.bz2 162 -https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/${PJPROJ_VERSION}/pjproject-${PJPROJ_VERSION}.tar.bz2
163SITES.pjproject-${PJPROJ_VERSION}.md5= \ 163SITES.pjproject-${PJPROJ_VERSION}.md5= \
164 -https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/${PJPROJ_VERSION}/MD5SUM.TXT 164 -https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/${PJPROJ_VERSION}/MD5SUM.TXT
165DISTFILES+= pjproject-${PJPROJ_VERSION}.tar.bz2 pjproject-${PJPROJ_VERSION}.md5 165DISTFILES+= pjproject-${PJPROJ_VERSION}.tar.bz2 pjproject-${PJPROJ_VERSION}.md5
166ALL_ENV+= EXTERNALS_CACHE_DIR=${DISTDIR}/${DIST_SUBDIR} 166ALL_ENV+= EXTERNALS_CACHE_DIR=${DISTDIR}/${DIST_SUBDIR}
167 167
168# Override default paths in config files 168# Override default paths in config files
169SUBST_CLASSES+= configs 169SUBST_CLASSES+= configs
170SUBST_STAGE.configs= pre-configure 170SUBST_STAGE.configs= pre-configure
171SUBST_FILES.configs= configs/samples/cli_aliases.conf.sample 171SUBST_FILES.configs= configs/samples/cli_aliases.conf.sample
172SUBST_FILES.configs+= configs/samples/festival.conf.sample 172SUBST_FILES.configs+= configs/samples/festival.conf.sample
173SUBST_FILES.configs+= configs/samples/http.conf.sample 173SUBST_FILES.configs+= configs/samples/http.conf.sample

cvs diff -r1.35 -r1.36 pkgsrc/comms/asterisk16/distinfo (expand / switch to unified diff)

--- pkgsrc/comms/asterisk16/distinfo 2020/06/12 16:23:53 1.35
+++ pkgsrc/comms/asterisk16/distinfo 2020/08/13 09:24:25 1.36
@@ -1,36 +1,36 @@ @@ -1,36 +1,36 @@
1$NetBSD: distinfo,v 1.35 2020/06/12 16:23:53 ryoon Exp $ 1$NetBSD: distinfo,v 1.36 2020/08/13 09:24:25 ryoon Exp $
2 2
3SHA1 (asterisk-16.11.0/asterisk-16.11.0.tar.gz) = 9a9d1c7a45210d94e266686462203405e5d34dda 3SHA1 (asterisk-16.12.0/asterisk-16.12.0.tar.gz) = 85f67fbba2401f45ace3d47eff6affa36521682c
4RMD160 (asterisk-16.11.0/asterisk-16.11.0.tar.gz) = 74036bece29f9865f1110d8f69621e6e8cb2d79f 4RMD160 (asterisk-16.12.0/asterisk-16.12.0.tar.gz) = 99779e3f6e977752c1e2a851ee5360c9b0215d04
5SHA512 (asterisk-16.11.0/asterisk-16.11.0.tar.gz) = 1b138c6a4ac442504d05c1f9a327cdc1396669a328f86678252fe578dc0e3cccf5b4d7856937862f7cc531a0618e3b7e6eebc041ab435efe676cd89e6d877ee6 5SHA512 (asterisk-16.12.0/asterisk-16.12.0.tar.gz) = 1fc41b92d070efd4a7ea5db1a36c83bdb6dbbe7d9b5087b0a887ba3d6875e81ba1b71a79b216138b242f0349a176baf6745480ff6fb7ed47c62dda4b09b6a891
6Size (asterisk-16.11.0/asterisk-16.11.0.tar.gz) = 27708591 bytes 6Size (asterisk-16.12.0/asterisk-16.12.0.tar.gz) = 27727347 bytes
7SHA1 (asterisk-16.11.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 0207e289404704c42941759db9660269599044f9 7SHA1 (asterisk-16.12.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 0207e289404704c42941759db9660269599044f9
8RMD160 (asterisk-16.11.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 5d660e7664a56086bd60ad49196e1b622a60f106 8RMD160 (asterisk-16.12.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 5d660e7664a56086bd60ad49196e1b622a60f106
9SHA512 (asterisk-16.11.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f2f7bf3d5bce3544bc013f913c352f0204a3ce96239987403eb9dce8bc87e64a61d437762323a422a87b2fad1f3bf3e7a5f3d0d340f912a1b1dbfea9479d41d 9SHA512 (asterisk-16.12.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f2f7bf3d5bce3544bc013f913c352f0204a3ce96239987403eb9dce8bc87e64a61d437762323a422a87b2fad1f3bf3e7a5f3d0d340f912a1b1dbfea9479d41d
10Size (asterisk-16.11.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 4253587 bytes 10Size (asterisk-16.12.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 4253587 bytes
11SHA1 (asterisk-16.11.0/pjproject-2.9.md5) = f8162e9ab7e4de130c166d9ac2f4271ded408ab0 11SHA1 (asterisk-16.12.0/pjproject-2.10.md5) = 1f91cf11ef1df14344817905e165cc1908668d18
12RMD160 (asterisk-16.11.0/pjproject-2.9.md5) = 71f1173138a806451480180ab4147bbddae259d8 12RMD160 (asterisk-16.12.0/pjproject-2.10.md5) = c33bbef404923860a41e34520871c0fa7533a01d
13SHA512 (asterisk-16.11.0/pjproject-2.9.md5) = bfc8fb4ecb6fcb6b9fe2c088e3236ccab74f09bda163c7f1a9b548b0c514228b20ca15c734ff53ed88810b32e904743b396fffdf5d1a6e0c8d66427f0216c0cd 13SHA512 (asterisk-16.12.0/pjproject-2.10.md5) = bd24048c9c2fdaf06468e44bceca92bd02848d759ef98285d20b50174f865b1aec2928f1ce6c092862397ba83dd1a74da4a7e479eca881df1e9f9d1c211a7054
14Size (asterisk-16.11.0/pjproject-2.9.md5) = 107 bytes 14Size (asterisk-16.12.0/pjproject-2.10.md5) = 110 bytes
15SHA1 (asterisk-16.11.0/pjproject-2.9.tar.bz2) = 4b7690e90a9fbe757ac7c5b0db9a2d3db8927824 15SHA1 (asterisk-16.12.0/pjproject-2.10.tar.bz2) = 0c691fa3562d4daad4b4374df61e8325ac15cc55
16RMD160 (asterisk-16.11.0/pjproject-2.9.tar.bz2) = 7333d158e05b4bee16af0a91d4432c6f9e570bf5 16RMD160 (asterisk-16.12.0/pjproject-2.10.tar.bz2) = 9ffe871976a67e4d29d45fdb2c1fc26b2925ef86
17SHA512 (asterisk-16.11.0/pjproject-2.9.tar.bz2) = a65823a86ad0cd76890cf7dd2485f7547fd90aea2ef631c5420c009b35f39eda3b78551a42fc2816c2470de9eb728c26497774a8494824472ecaa1d2889cc20b 17SHA512 (asterisk-16.12.0/pjproject-2.10.tar.bz2) = fe29edccc63a8e72323e1b6f955a8c3475e26aba9cb8f5125546da4409fecc19a09a7950eee6b8e4a3c908943bc043d95130f878ad52958c5eccc617e3bcfb4e
18Size (asterisk-16.11.0/pjproject-2.9.tar.bz2) = 5009546 bytes 18Size (asterisk-16.12.0/pjproject-2.10.tar.bz2) = 7339188 bytes
19SHA1 (patch-Makefile) = f7630acc724e1beb422226318611d5f3f79be82b 19SHA1 (patch-Makefile) = f7630acc724e1beb422226318611d5f3f79be82b
20SHA1 (patch-build__tools_mkpkgconfig) = 7fab8fcf46d9f8a3b98455674fec6307ec472b23 20SHA1 (patch-build__tools_mkpkgconfig) = 7fab8fcf46d9f8a3b98455674fec6307ec472b23
21SHA1 (patch-channels_Makefile) = b32bb8439ae07ed361ab7cb811b4766a27f09ec9 21SHA1 (patch-channels_Makefile) = b32bb8439ae07ed361ab7cb811b4766a27f09ec9
22SHA1 (patch-configure) = b25ac1178eb77a1d0ecb57f5b37813cf1a4ad5c6 22SHA1 (patch-configure) = 65da4b46faae700c39b316cc88f6757f8b023657
23SHA1 (patch-configure.ac) = 63a54b310ea38216861206f07116614ddfb90e20 23SHA1 (patch-configure.ac) = 91a080a5190eb397021676ba2f579990939b40e8
24SHA1 (patch-contrib_scripts_vmail.cgi) = 7935ce96ea319eb19cc2ce999813eb837d5357c0 24SHA1 (patch-contrib_scripts_vmail.cgi) = 7935ce96ea319eb19cc2ce999813eb837d5357c0
25SHA1 (patch-include_asterisk_autoconfig.h.in) = 2f8a986bd3b35ebb384280f0dbf81c32d689ddd2 25SHA1 (patch-include_asterisk_autoconfig.h.in) = 2f8a986bd3b35ebb384280f0dbf81c32d689ddd2
26SHA1 (patch-include_asterisk_sha1.h) = 9b233ef82b50b8d94177616e1382991656ce1ebf 26SHA1 (patch-include_asterisk_sha1.h) = 9b233ef82b50b8d94177616e1382991656ce1ebf
27SHA1 (patch-main_Makefile) = d8b2cdd76dbf4dfa3ae082ce39cc0f8396b368aa 27SHA1 (patch-main_Makefile) = d8b2cdd76dbf4dfa3ae082ce39cc0f8396b368aa
28SHA1 (patch-main_acl.c) = 06a9d247b19d648e9ff54ac2a234dc8ac8c023bb 28SHA1 (patch-main_acl.c) = 06a9d247b19d648e9ff54ac2a234dc8ac8c023bb
29SHA1 (patch-main_pbx__builtins.c) = 7c1d518f05afc1523b247f50b0363e25832c8636 29SHA1 (patch-main_pbx__builtins.c) = 7c1d518f05afc1523b247f50b0363e25832c8636
30SHA1 (patch-main_stdtime_localtime.c) = d530bea8f93667a07b707e6fb01c6744aa264d40 30SHA1 (patch-main_stdtime_localtime.c) = d530bea8f93667a07b707e6fb01c6744aa264d40
31SHA1 (patch-main_utils.c) = ab85be3687dd7f39b742bd5e4036f9e297f3e272 31SHA1 (patch-main_utils.c) = ab85be3687dd7f39b742bd5e4036f9e297f3e272
32SHA1 (patch-pbx_pbx__dundi.c) = d2a50650a19463304c81fc19c460565b94f91b72 32SHA1 (patch-pbx_pbx__dundi.c) = d2a50650a19463304c81fc19c460565b94f91b72
33SHA1 (patch-res_res__rtp__asterisk.c) = ea63841700ca31653c7ddcc8d296348b9ee68964 33SHA1 (patch-res_res__rtp__asterisk.c) = ea63841700ca31653c7ddcc8d296348b9ee68964
34SHA1 (patch-sounds_Makefile) = acc15088ae2545f2822246466bfe783b5215fc54 34SHA1 (patch-sounds_Makefile) = acc15088ae2545f2822246466bfe783b5215fc54
35SHA1 (patch-tests_test__locale.c) = f3f1edc86356f2a7b4d3493433c772e164c77f66 35SHA1 (patch-tests_test__locale.c) = f3f1edc86356f2a7b4d3493433c772e164c77f66
36SHA1 (patch-utils_Makefile) = 4b4be483c20768d640efae5c18fc6f6770eb8c0c 36SHA1 (patch-utils_Makefile) = 4b4be483c20768d640efae5c18fc6f6770eb8c0c

cvs diff -r1.2 -r1.3 pkgsrc/comms/asterisk16/patches/patch-configure (expand / switch to unified diff)

--- pkgsrc/comms/asterisk16/patches/patch-configure 2019/12/21 23:29:05 1.2
+++ pkgsrc/comms/asterisk16/patches/patch-configure 2020/08/13 09:24:25 1.3
@@ -1,49 +1,58 @@ @@ -1,49 +1,58 @@
1$NetBSD: patch-configure,v 1.2 2019/12/21 23:29:05 joerg Exp $ 1$NetBSD: patch-configure,v 1.3 2020/08/13 09:24:25 ryoon Exp $
2 2
3--- configure.orig 2019-07-25 09:38:14.000000000 +0000 3--- configure.orig 2020-07-16 16:00:28.000000000 +0000
4+++ configure 4+++ configure
5@@ -9120,7 +9120,7 @@ $as_echo_n "checking for clang -fblocks. 5@@ -8960,7 +8960,7 @@ $as_echo_n "checking for clang -fblocks.
6 AST_CLANG_BLOCKS="-Wno-unknown-warning-option -fblocks" 6 AST_CLANG_BLOCKS="-Wno-unknown-warning-option -fblocks"
7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8 $as_echo "yes" >&6; } 8 $as_echo "yes" >&6; }
9- elif test "`echo 'int main(){return ^{return 42;}();}' | ${CC} -o /dev/null -fblocks -x c -lBlocksRuntime - 2>&1`" = ""; then 9- elif test "`echo 'int main(){return ^{return 42;}();}' | ${CC} -o /dev/null -fblocks -x c -lBlocksRuntime - 2>&1`" = ""; then
10+ elif test "`echo 'int main(){return ^{return 42;}();}' | ${CC} ${LDFLAGS} -o /dev/null -fblocks -x c -lBlocksRuntime - 2>&1`" = ""; then 10+ elif test "`echo 'int main(){return ^{return 42;}();}' | ${CC} ${LDFLAGS} -o /dev/null -fblocks -x c -lBlocksRuntime - 2>&1`" = ""; then
11 AST_CLANG_BLOCKS_LIBS="-lBlocksRuntime" 11 AST_CLANG_BLOCKS_LIBS="-lBlocksRuntime"
12 AST_CLANG_BLOCKS="-fblocks" 12 AST_CLANG_BLOCKS="-fblocks"
13 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14@@ -14838,7 +14838,7 @@ fi 14@@ -9057,7 +9057,7 @@ if test "${with_pjproject_bundled+set}"
 15 fi
 16
 17
 18-if test "${with_pjproject}" == "no" || test "${with_pjproject}" == "n" ; then
 19+if test "${with_pjproject}" = "no" || test "${with_pjproject}" = "n" ; then
 20 PJPROJECT_BUNDLED=no
 21 fi
 22
 23@@ -14689,7 +14689,7 @@ fi
15  24
16  25
17  26
18-if test "${PERMANENT_DLOPEN}" == "yes"; then 27-if test "${PERMANENT_DLOPEN}" == "yes"; then
19+if test "${PERMANENT_DLOPEN}" = "yes"; then 28+if test "${PERMANENT_DLOPEN}" = "yes"; then
20  29
21 $as_echo "#define HAVE_PERMANENT_DLOPEN 1" >>confdefs.h 30 $as_echo "#define HAVE_PERMANENT_DLOPEN 1" >>confdefs.h
22  31
23@@ -14872,7 +14872,7 @@ fi 32@@ -14723,7 +14723,7 @@ fi
24 done 33 done
25  34
26  35
27-ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default" 36-ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
28+ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default" 37+ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
29 if test "x$ac_cv_header_sys_poll_h" = xyes; then : 38 if test "x$ac_cv_header_sys_poll_h" = xyes; then :
30  39
31 else 40 else
32@@ -16887,7 +16887,7 @@ fi 41@@ -16738,7 +16738,7 @@ fi
33 done 42 done
34  43
35  44
36-for ac_func in asprintf atexit closefrom dup2 eaccess endpwent euidaccess ffsll ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday glob ioperm inet_ntoa isascii memchr memmove memset mkdir mkdtemp munmap newlocale pipe2 ppoll putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtod strtol strtold strtoq unsetenv uselocale utime vasprintf getpeereid sysctl swapctl malloc_trim 45-for ac_func in asprintf atexit closefrom dup2 eaccess endpwent euidaccess ffsll ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday glob ioperm inet_ntoa isascii memchr memmove memset mkdir mkdtemp munmap newlocale pipe2 ppoll putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtod strtol strtold strtoq unsetenv uselocale utime vasprintf getpeereid sysctl swapctl malloc_trim
37+for ac_func in asprintf atexit closefrom dup2 eaccess endpwent euidaccess ffsll ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday glob ioperm inet_ntoa isascii memchr memmove memset mkdir mkdtemp munmap newlocale pipe2 ppoll putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtod strtol strtold strtoq unsetenv uselocale utime vasprintf getpeereid sysctl swapctl malloc_trim strftime_l strptime_l 46+for ac_func in asprintf atexit closefrom dup2 eaccess endpwent euidaccess ffsll ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday glob ioperm inet_ntoa isascii memchr memmove memset mkdir mkdtemp munmap newlocale pipe2 ppoll putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtod strtol strtold strtoq unsetenv uselocale utime vasprintf getpeereid sysctl swapctl malloc_trim strftime_l strptime_l
38 do : 47 do :
39 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 48 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 49 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41@@ -17122,7 +17122,7 @@ rm -f core conftest.err conftest.$ac_obj 50@@ -16973,7 +16973,7 @@ rm -f core conftest.err conftest.$ac_obj
42 LDFLAGS=${old_LDFLAGS} 51 LDFLAGS=${old_LDFLAGS}
43 rm -f conftest.dynamics 52 rm -f conftest.dynamics
44  53
45-ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default" 54-ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
46+ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default" 55+ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
47 if test "x$ac_cv_header_sys_poll_h" = xyes; then : 56 if test "x$ac_cv_header_sys_poll_h" = xyes; then :
48 HAS_POLL=1 57 HAS_POLL=1
49  58

cvs diff -r1.1 -r1.2 pkgsrc/comms/asterisk16/patches/patch-configure.ac (expand / switch to unified diff)

--- pkgsrc/comms/asterisk16/patches/patch-configure.ac 2019/08/20 13:47:42 1.1
+++ pkgsrc/comms/asterisk16/patches/patch-configure.ac 2020/08/13 09:24:25 1.2
@@ -1,43 +1,52 @@ @@ -1,43 +1,52 @@
1$NetBSD: patch-configure.ac,v 1.1 2019/08/20 13:47:42 ryoon Exp $ 1$NetBSD: patch-configure.ac,v 1.2 2020/08/13 09:24:25 ryoon Exp $
2 2
3--- configure.ac.orig 2019-07-25 09:38:14.000000000 +0000 3--- configure.ac.orig 2020-07-16 16:00:28.000000000 +0000
4+++ configure.ac 4+++ configure.ac
5@@ -738,7 +738,7 @@ AC_ARG_ENABLE([permanent-dlopen], 5@@ -452,7 +452,7 @@ AC_ARG_WITH([pjproject-bundled],
 6 *) PJPROJECT_BUNDLED=yes ;;
 7 esac])
 8
 9-if test "${with_pjproject}" == "no" || test "${with_pjproject}" == "n" ; then
 10+if test "${with_pjproject}" = "no" || test "${with_pjproject}" = "n" ; then
 11 PJPROJECT_BUNDLED=no
 12 fi
 13
 14@@ -740,7 +740,7 @@ AC_ARG_ENABLE([permanent-dlopen],
6 esac], [PERMANENT_DLOPEN=no]) 15 esac], [PERMANENT_DLOPEN=no])
7  16
8 AC_SUBST([PERMANENT_DLOPEN]) 17 AC_SUBST([PERMANENT_DLOPEN])
9-if test "${PERMANENT_DLOPEN}" == "yes"; then 18-if test "${PERMANENT_DLOPEN}" == "yes"; then
10+if test "${PERMANENT_DLOPEN}" = "yes"; then 19+if test "${PERMANENT_DLOPEN}" = "yes"; then
11 AC_DEFINE([HAVE_PERMANENT_DLOPEN], 1, [Define to support libc with permanent dlopen.]) 20 AC_DEFINE([HAVE_PERMANENT_DLOPEN], 1, [Define to support libc with permanent dlopen.])
12 fi 21 fi
13  22
14@@ -747,7 +747,7 @@ AC_CHECK_HEADERS([xlocale.h]) 23@@ -749,7 +749,7 @@ AC_CHECK_HEADERS([xlocale.h])
15  24
16 AC_CHECK_HEADERS([winsock.h winsock2.h]) 25 AC_CHECK_HEADERS([winsock.h winsock2.h])
17  26
18-AC_CHECK_HEADER([sys/poll.h], 27-AC_CHECK_HEADER([sys/poll.h],
19+AC_CHECK_HEADER([poll.h], 28+AC_CHECK_HEADER([poll.h],
20 [], 29 [],
21 AC_DEFINE([AST_POLL_COMPAT], 1, [Define to 1 if internal poll should be used.])) 30 AC_DEFINE([AST_POLL_COMPAT], 1, [Define to 1 if internal poll should be used.]))
22  31
23@@ -799,7 +799,7 @@ AC_FUNC_STRNLEN 32@@ -801,7 +801,7 @@ AC_FUNC_STRNLEN
24 AC_FUNC_STRTOD 33 AC_FUNC_STRTOD
25 AC_FUNC_UTIME_NULL 34 AC_FUNC_UTIME_NULL
26 AC_FUNC_VPRINTF 35 AC_FUNC_VPRINTF
27-AC_CHECK_FUNCS([asprintf atexit closefrom dup2 eaccess endpwent euidaccess ffsll ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday glob ioperm inet_ntoa isascii memchr memmove memset mkdir mkdtemp munmap newlocale pipe2 ppoll putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtod strtol strtold strtoq unsetenv uselocale utime vasprintf getpeereid sysctl swapctl malloc_trim]) 36-AC_CHECK_FUNCS([asprintf atexit closefrom dup2 eaccess endpwent euidaccess ffsll ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday glob ioperm inet_ntoa isascii memchr memmove memset mkdir mkdtemp munmap newlocale pipe2 ppoll putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtod strtol strtold strtoq unsetenv uselocale utime vasprintf getpeereid sysctl swapctl malloc_trim])
28+AC_CHECK_FUNCS([asprintf atexit closefrom dup2 eaccess endpwent euidaccess ffsll ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday glob ioperm inet_ntoa isascii memchr memmove memset mkdir mkdtemp munmap newlocale pipe2 ppoll putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtod strtol strtold strtoq unsetenv uselocale utime vasprintf getpeereid sysctl swapctl malloc_trim strftime_l strptime_l]) 37+AC_CHECK_FUNCS([asprintf atexit closefrom dup2 eaccess endpwent euidaccess ffsll ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday glob ioperm inet_ntoa isascii memchr memmove memset mkdir mkdtemp munmap newlocale pipe2 ppoll putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtod strtol strtold strtoq unsetenv uselocale utime vasprintf getpeereid sysctl swapctl malloc_trim strftime_l strptime_l])
29  38
30 AC_MSG_CHECKING(for htonll) 39 AC_MSG_CHECKING(for htonll)
31 AC_LINK_IFELSE( 40 AC_LINK_IFELSE(
32@@ -868,9 +868,9 @@ AC_SUBST(PBX_DYNAMIC_LIST) 41@@ -870,9 +870,9 @@ AC_SUBST(PBX_DYNAMIC_LIST)
33 LDFLAGS=${old_LDFLAGS} 42 LDFLAGS=${old_LDFLAGS}
34 rm -f conftest.dynamics 43 rm -f conftest.dynamics
35  44
36-AC_CHECK_HEADER([sys/poll.h], 45-AC_CHECK_HEADER([sys/poll.h],
37+AC_CHECK_HEADER([poll.h], 46+AC_CHECK_HEADER([poll.h],
38 [HAS_POLL=1] 47 [HAS_POLL=1]
39- AC_DEFINE([HAVE_SYS_POLL_H], 1, [Define to 1 if your system has working sys/poll.h]), 48- AC_DEFINE([HAVE_SYS_POLL_H], 1, [Define to 1 if your system has working sys/poll.h]),
40+ AC_DEFINE([HAVE_SYS_POLL_H], 1, [Define to 1 if your system has working poll.h]), 49+ AC_DEFINE([HAVE_SYS_POLL_H], 1, [Define to 1 if your system has working poll.h]),
41 ) 50 )
42  51
43 AC_ARG_ENABLE([internal-poll], 52 AC_ARG_ENABLE([internal-poll],