rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / python / python37 / patches / 32-epoll.patch
blob9830daccb58b8793a2cd13e57a1940ba861fdbb5
1 --- Python-3.7.7/configure.ac.orig 2020-06-11 18:29:34.063859133 +0000
2 +++ Python-3.7.7/configure.ac 2020-06-11 18:29:49.347521390 +0000
3 @@ -3645,13 +3645,13 @@
4 [AC_MSG_RESULT(no)
5 ])
6 AC_MSG_CHECKING(for epoll)
7 -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/epoll.h>]], [[void *x=epoll_create]])],
8 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/epoll.h>]], [[void *x=no_epoll_create]])],
9 [AC_DEFINE(HAVE_EPOLL, 1, Define if you have the 'epoll' functions.)
10 AC_MSG_RESULT(yes)],
11 [AC_MSG_RESULT(no)
13 AC_MSG_CHECKING(for epoll_create1)
14 -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/epoll.h>]], [[void *x=epoll_create1]])],
15 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/epoll.h>]], [[void *x=no_epoll_create1]])],
16 [AC_DEFINE(HAVE_EPOLL_CREATE1, 1, Define if you have the 'epoll_create1' function.)
17 AC_MSG_RESULT(yes)],
18 [AC_MSG_RESULT(no)