mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 17:04:36 +04:00
This bumps asterisk to version 16.25.2 to address the following security concerns: https://downloads.asterisk.org/pub/security/AST-2022-001.html https://downloads.asterisk.org/pub/security/AST-2022-002.html https://downloads.asterisk.org/pub/security/AST-2022-003.html Other changes: - add two new modules (app_sf and func_json) - update 100-build-reproducibly.patch as upstream refactored some of the code - refresh patches - "--disable-xmldoc" does no longer prevent the linking to libxslt, if available. If that's the case one is greeted with the following error: Package asterisk is missing dependencies for the following libraries: libxslt.so.1 This commit explicitly disables the use of libxslt, to avoid the dependency. - backport 160-AST_EXT_TOOL_CHECK.patch from master for issue #672 - backport 180_build-fix-bininstall-launchd-issue-on-cross-platfrom.patch from master to fix a build issue on MacOS (patch from Sergey V. Lobanov <sergey@lobanov.in>) Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
29 lines
872 B
Diff
29 lines
872 B
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -1088,15 +1088,18 @@ AC_LINK_IFELSE(
|
|
|
|
# Some platforms define sem_init(), but only support sem_open(). joyous.
|
|
AC_MSG_CHECKING(for working unnamed semaphores)
|
|
-AC_RUN_IFELSE(
|
|
- [AC_LANG_PROGRAM([#include <semaphore.h>],
|
|
- [sem_t sem; return sem_init(&sem, 0, 0);])],
|
|
+AC_LINK_IFELSE(
|
|
+ [AC_LANG_PROGRAM(
|
|
+ [#include <semaphore.h>],
|
|
+ [#if defined(__UCLIBC__)
|
|
+ i_dont_exist sem;
|
|
+ #else
|
|
+ sem_t sem;
|
|
+ #endif
|
|
+ return sem_init(&sem, 0, 0);])],
|
|
AC_MSG_RESULT(yes)
|
|
AC_DEFINE([HAS_WORKING_SEMAPHORE], 1, [Define to 1 if anonymous semaphores work.]),
|
|
- AC_MSG_RESULT(no),
|
|
- AC_MSG_RESULT(cross-compile)
|
|
- AC_MSG_NOTICE([WARNING: result yes guessed because of cross compilation])
|
|
- AC_DEFINE([HAS_WORKING_SEMAPHORE], 1, [Define to 1 if anonymous semaphores work.])
|
|
+ AC_MSG_RESULT(no)
|
|
)
|
|
|
|
LIBS="$save_LIBS"
|