From 03c4d57f1d9e2b0f516afdd7e7b3f082694d3c0a Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Wed, 7 Nov 2012 05:01:21 +0000 Subject: Add python3 package [Peter: s/python/python3/] Signed-off-by: Maxime Ripard Signed-off-by: Peter Korsgaard --- .../python3-3.3-011-cross-compile-getaddrinfo.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/python3/python3-3.3-011-cross-compile-getaddrinfo.patch (limited to 'package/python3/python3-3.3-011-cross-compile-getaddrinfo.patch') diff --git a/package/python3/python3-3.3-011-cross-compile-getaddrinfo.patch b/package/python3/python3-3.3-011-cross-compile-getaddrinfo.patch new file mode 100644 index 000000000..33286ce39 --- /dev/null +++ b/package/python3/python3-3.3-011-cross-compile-getaddrinfo.patch @@ -0,0 +1,21 @@ +Disable buggy_getaddrinfo configure test when cross-compiling with IPv6 support + +Signed-off-by: Vanya Sergeev + +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: Python-3.3.0/configure.ac +=================================================================== +--- Python-3.3.0.orig/configure.ac ++++ Python-3.3.0/configure.ac +@@ -3204,7 +3204,7 @@ + + AC_MSG_RESULT($ac_cv_buggy_getaddrinfo) + +-if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes ++if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes + then + if test $ipv6 = yes + then -- cgit v1.2.3