luaposix: bump to version 31
[buildroot-gz.git] / package / python3 / python3-011-cross-compile-getaddrinfo.patch
blob33286ce3915f3f3ee0ef7cf6687b91a12b248e2f
1 Disable buggy_getaddrinfo configure test when cross-compiling with IPv6 support
3 Signed-off-by: Vanya Sergeev <vsergeev at gmail.com>
5 ---
6 configure.ac | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
9 Index: Python-3.3.0/configure.ac
10 ===================================================================
11 --- Python-3.3.0.orig/configure.ac
12 +++ Python-3.3.0/configure.ac
13 @@ -3204,7 +3204,7 @@
15 AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
17 -if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes
18 +if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes
19 then
20 if test $ipv6 = yes
21 then