Files
telephony/net/asterisk/patches/130-eventfd.patch
Paul Donald 73fd665261 asterisk: bump to 22.7.0
remove deprecated modules from 20-21
21-22 is mostly bugfixes

See https://docs.asterisk.org/Asterisk_21_Documentation/Upgrading/
and https://docs.asterisk.org/Asterisk_22_Documentation/Upgrading/
and https://docs.asterisk.org/Development/Asterisk-Module-Deprecations/#removed-modules

- remove deprecated users.conf (otherwise asterisk logs:
  WARNING[24699] pbx_config.c: users.conf is deprecated and will be removed in
  a future version of Asterisk )
- add cdr.conf (otherwise asterisk logs:
  ERROR[24658] config_options.c: Unable to load config file 'cdr.conf' )
- add missing res-websocket-client (necessary for app_stasis, res_ari)
- app_macro -> app_stack

refresh patches

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2025-12-04 13:06:45 +01:00

12 lines
330 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -1291,7 +1291,7 @@ if test "${ac_cv_have_variable_fdset}x"
fi
AC_MSG_CHECKING([if we have usable eventfd support])
-AC_RUN_IFELSE(
+AC_LINK_IFELSE(
[AC_LANG_PROGRAM([#include <sys/eventfd.h>],
[return eventfd(0, EFD_NONBLOCK | EFD_SEMAPHORE) == -1;])],
AC_MSG_RESULT(yes)