summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-05-07 20:57:15 +0100
committerVincent Sanders <vince@kyllikki.org>2020-05-07 20:57:15 +0100
commit49f56790e72868ad1f1fa89f237f9690d53ebc96 (patch)
tree2425b50b1c536b791c830b4dd9c8bf853f7bc776
parent6f7b04741e1f7354ee332fb5af681540757188f9 (diff)
downloadtoolchains-master.tar.gz
toolchains-master.tar.bz2
refresh ppc-amigaos curl patch for updated curlHEADmaster
-rw-r--r--sdk/recipes/patches/libcurl/ppc-amigaos/lib.hostip4.c.p16
1 files changed, 8 insertions, 8 deletions
diff --git a/sdk/recipes/patches/libcurl/ppc-amigaos/lib.hostip4.c.p b/sdk/recipes/patches/libcurl/ppc-amigaos/lib.hostip4.c.p
index b6287ca..39952b8 100644
--- a/sdk/recipes/patches/libcurl/ppc-amigaos/lib.hostip4.c.p
+++ b/sdk/recipes/patches/libcurl/ppc-amigaos/lib.hostip4.c.p
@@ -1,6 +1,6 @@
---- lib/hostip4.c 2017-03-26 23:41:52.304617207 +0100
-+++ lib/hostip4.c 2017-03-26 23:41:11.000000000 +0100
-@@ -119,6 +119,10 @@ Curl_addrinfo *Curl_getaddrinfo(struct c
+--- lib/hostip4.c 2020-01-05 09:50:51.000000000 +0000
++++ lib/hostip4.c 2020-05-07 16:02:59.313823259 +0100
+@@ -120,6 +120,10 @@ Curl_addrinfo *Curl_getaddrinfo(struct c
* implying that only threadsafe code and function calls may be used.
*
*/
@@ -11,7 +11,7 @@
Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname,
int port)
{
-@@ -129,6 +133,9 @@ Curl_addrinfo *Curl_ipv4_resolve_r(const
+@@ -130,6 +134,9 @@ Curl_addrinfo *Curl_ipv4_resolve_r(const
struct hostent *h = NULL;
struct in_addr in;
struct hostent *buf = NULL;
@@ -19,9 +19,9 @@
+ struct SocketIFace *ISocket = NULL;
+#endif
- if(Curl_inet_pton(AF_INET, hostname, &in) > 0)
- /* This is a dotted IP address 123.123.123.123-style */
-@@ -291,7 +298,20 @@ Curl_addrinfo *Curl_ipv4_resolve_r(const
+ #ifdef ENABLE_IPV6
+ {
+@@ -302,7 +309,20 @@ Curl_addrinfo *Curl_ipv4_resolve_r(const
* gethostbyname() is the preferred one.
*/
else {
@@ -42,7 +42,7 @@
#endif /* HAVE_GETADDRINFO_THREADSAFE || HAVE_GETHOSTBYNAME_R */
}
-@@ -301,7 +321,14 @@ Curl_addrinfo *Curl_ipv4_resolve_r(const
+@@ -312,7 +332,14 @@ Curl_addrinfo *Curl_ipv4_resolve_r(const
if(buf) /* used a *_r() function */
free(buf);
}