head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.11.09.05.37.20; author jnemeth; state Exp; branches; next ; commitid nfklAD0yCz3anK2H; desc @@ 1.1 log @comms/asterisk24: import asterisk-24.0.0 Asterisk is a complete PBX in software. It provides all of the features you would expect from a PBX and more. Asterisk does voice over IP in three protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware. Asterisk provides Voicemail services with Directory, Call Conferencing, Interactive Voice Response, Call Queuing. It has support for three-way calling, caller ID services, ADSI, SIP and H.323 (as both client and gateway). This is a Long Term Support version. It is scheduled to go to security fixes only on October 15th, 2030, and EOL on October 15th, 2031. See here for more information about Asterisk versions: https://docs.asterisk.org/About-the-Project/Asterisk-Versions/ @ text @$NetBSD: patch-configure.ac,v 1.1 2025/10/27 06:58:38 jnemeth Exp $ --- configure.ac.orig 2025-07-31 16:44:18.000000000 +0000 +++ configure.ac @@@@ -65,13 +65,9 @@@@ esac case "${host_os}" in netbsd*) ac_default_prefix=/usr/pkg - CPPFLAGS=-I/usr/pkg/include - LDFLAGS=-L/usr/pkg/lib ;; dragonfly*|freebsd*) ac_default_prefix=/usr/local - CPPFLAGS=-I/usr/local/include - LDFLAGS=-L/usr/local/lib ;; openbsd*) ac_default_prefix=/usr/local @@@@ -83,8 +79,6 @@@@ case "${host_os}" in astmandir=/usr/share/man fi fi - CPPFLAGS=-I/usr/local/include - LDFLAGS=-L/usr/local/lib ;; darwin*) ac_default_prefix=/usr/local @@@@ -828,7 +822,7 @@@@ AC_CHECK_HEADERS([xlocale.h]) AC_CHECK_HEADERS([winsock.h winsock2.h]) -AC_CHECK_HEADER([sys/poll.h], +AC_CHECK_HEADER([poll.h], [], AC_DEFINE([AST_POLL_COMPAT], 1, [Define to 1 if internal poll should be used.])) @@@@ -880,7 +874,7 @@@@ AC_FUNC_STRNLEN AC_FUNC_STRTOD AC_FUNC_UTIME_NULL AC_FUNC_VPRINTF -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]) +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 strftime_l strlcat strlcpy strncasecmp strndup strnlen strptime_l strrchr strsep strspn strstr strtod strtol strtold strtoq unsetenv uselocale utime vasprintf getpeereid sysctl swapctl malloc_trim]) AC_MSG_CHECKING(for htonll) AC_LINK_IFELSE( @@@@ -949,9 +943,9 @@@@ AC_SUBST(PBX_DYNAMIC_LIST) LDFLAGS=${old_LDFLAGS} rm -f conftest.dynamics -AC_CHECK_HEADER([sys/poll.h], +AC_CHECK_HEADER([poll.h], [HAS_POLL=1] - AC_DEFINE([HAVE_SYS_POLL_H], 1, [Define to 1 if your system has working sys/poll.h]), + AC_DEFINE([HAVE_SYS_POLL_H], 1, [Define to 1 if your system has working poll.h]), ) AC_ARG_ENABLE([internal-poll], @