summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdk/recipes/patches/libcurl/m5475-atari-mint/lib.asyn-ares.c.p11
1 files changed, 11 insertions, 0 deletions
diff --git a/sdk/recipes/patches/libcurl/m5475-atari-mint/lib.asyn-ares.c.p b/sdk/recipes/patches/libcurl/m5475-atari-mint/lib.asyn-ares.c.p
new file mode 100644
index 0000000..8a8e3ab
--- /dev/null
+++ b/sdk/recipes/patches/libcurl/m5475-atari-mint/lib.asyn-ares.c.p
@@ -0,0 +1,11 @@
+--- lib/asyn-ares.c 2012-10-19 21:37:45.000000000 +0100
++++ lib/asyn-ares.c 2012-10-19 21:38:09.000000000 +0100
+@@ -669,7 +669,7 @@
+ CURLcode Curl_set_dns_local_ip6(struct SessionHandle *data,
+ const char *local_ip6)
+ {
+-#if (ARES_VERSION >= 0x010704)
++#if (ARES_VERSION >= 0x010704) && defined(ENABLE_IPV6)
+ unsigned char a6[INET6_ADDRSTRLEN];
+
+ if((!local_ip6) || (local_ip6[0] == 0)) {