python3-3.3-011-cross-compile-getaddrinfo.patch 656 B

123456789101112131415161718192021
  1. Disable buggy_getaddrinfo configure test when cross-compiling with IPv6 support
  2. Signed-off-by: Vanya Sergeev <vsergeev at gmail.com>
  3. ---
  4. configure.ac | 2 +-
  5. 1 file changed, 1 insertion(+), 1 deletion(-)
  6. Index: Python-3.3.0/configure.ac
  7. ===================================================================
  8. --- Python-3.3.0.orig/configure.ac
  9. +++ Python-3.3.0/configure.ac
  10. @@ -3204,7 +3204,7 @@
  11. AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
  12. -if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes
  13. +if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes
  14. then
  15. if test $ipv6 = yes
  16. then