The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / python / 006-cross-compile-getaddrinfo.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/python/006-cross-compile-getaddrinfo.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/python/006-cross-compile-getaddrinfo.patch
new file mode 100644 (file)
index 0000000..ba6e6f0
--- /dev/null
@@ -0,0 +1,13 @@
+Index: b/configure.ac
+===================================================================
+--- a/configure.ac
++++ b/configure.ac
+@@ -3346,7 +3346,7 @@
+ AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
+-if test $have_getaddrinfo = no -o "$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