0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch 781 B

123456789101112131415161718192021222324252627
  1. From 72e20220f3a592b3ab9f440fbe74efa9f9e82d49 Mon Sep 17 00:00:00 2001
  2. From: Vanya Sergeev <vsergeev@gmail.com>
  3. Date: Wed, 23 Dec 2015 11:30:33 +0100
  4. Subject: [PATCH] Disable buggy_getaddrinfo configure test when cross-compiling
  5. with IPv6 support
  6. Signed-off-by: Vanya Sergeev <vsergeev@gmail.com>
  7. ---
  8. configure.ac | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/configure.ac b/configure.ac
  11. index 1ee5a09588..c2445edc88 100644
  12. --- a/configure.ac
  13. +++ b/configure.ac
  14. @@ -4175,7 +4175,7 @@ fi
  15. AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
  16. -if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes
  17. +if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes
  18. then
  19. if test $ipv6 = yes
  20. then
  21. --
  22. 2.25.1