asterisk: bump to 20.3.0
[feed/telephony.git] / net / asterisk / patches / 130-eventfd.patch
1 --- a/configure.ac
2 +++ b/configure.ac
3 @@ -1256,7 +1256,7 @@ if test "${ac_cv_have_variable_fdset}x"
4 fi
5
6 AC_MSG_CHECKING([if we have usable eventfd support])
7 -AC_RUN_IFELSE(
8 +AC_LINK_IFELSE(
9 [AC_LANG_PROGRAM([#include <sys/eventfd.h>],
10 [return eventfd(0, EFD_NONBLOCK | EFD_SEMAPHORE) == -1;])],
11 AC_MSG_RESULT(yes)