Gitweb links:
...log
http://git.netsurf-browser.org/toolchains.git/shortlog/80fe05aa682574cc4d5977c1614976e122aa2b08
...commit
http://git.netsurf-browser.org/toolchains.git/commit/80fe05aa682574cc4d5977c1614976e122aa2b08
...tree
http://git.netsurf-browser.org/toolchains.git/tree/80fe05aa682574cc4d5977c1614976e122aa2b08
The branch, master has been updated
via 80fe05aa682574cc4d5977c1614976e122aa2b08 (commit)
from 833fb81b5238ba9c681d44acab2d28abd4efdc52 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/toolchains.git/commit/?id=80fe05aa682574cc4d5977c1614976e122aa2b08
commit 80fe05aa682574cc4d5977c1614976e122aa2b08
Author: John-Mark Bell <[email protected]>
Commit: John-Mark Bell <[email protected]>
SDK/c-ares: refresh patches for 1.23.0
diff --git a/sdk/recipes/patches/libcares/m68k-unknown-amigaos/ipv6-support.p
b/sdk/recipes/patches/libcares/m68k-unknown-amigaos/ipv6-support.p
index 117ec51..873f638 100644
--- a/sdk/recipes/patches/libcares/m68k-unknown-amigaos/ipv6-support.p
+++ b/sdk/recipes/patches/libcares/m68k-unknown-amigaos/ipv6-support.p
@@ -1,6 +1,6 @@
--- src/lib/ares_ipv6.h.orig 2017-10-10 15:19:45.611896396 +0100
+++ src/lib/ares_ipv6.h 2017-10-17 15:42:25.304921197 +0100
-@@ -22,6 +22,11 @@
+@@ -32,6 +32,11 @@
#endif
+#ifndef INET6_ADDRSTRLEN
@@ -9,16 +9,16 @@
+
#ifndef HAVE_STRUCT_SOCKADDR_IN6
+#define s6_addr _S6_un._S6_u8
- struct sockaddr_in6
- {
+ struct sockaddr_in6 {
unsigned short sin6_family;
+ unsigned short sin6_port;
--- src/lib/ares__sortaddrinfo.c.orig 2017-10-10 15:19:45.611896396 +0100
+++ src/lib/ares__sortaddrinfo.c 2017-10-17 15:42:25.304921197 +0100
-@@ -71,6 +71,40 @@
+@@ -73,6 +73,40 @@
+ #define ARES_IN_LOOPBACK(a) \
+ ((((long unsigned int)(a)) & 0xff000000) == 0x7f000000)
- #define ARES_IN_LOOPBACK(a) ((((long int)(a)) & 0xff000000) == 0x7f000000)
-
-+#include <inttypes.h>
++#include <inttypes.h>
+#ifndef IN6_IS_ADDR_LINKLOCAL
+#define IN6_IS_ADDR_LINKLOCAL(a) \
+ ((((__const uint32_t *) (a))[0] & htonl (0xffc00000)) \
@@ -55,7 +55,7 @@
/* RFC 4193. */
#define ARES_IN6_IS_ADDR_ULA(a) (((a)->s6_addr[0] & 0xfe) == 0xfc)
-@@ -253,8 +286,13 @@
+@@ -205,8 +239,13 @@
/*
* Find number of matching initial bits between the two addresses a1 and a2.
*/
@@ -67,5 +67,5 @@
const struct in6_addr *a2)
+#endif
{
- const char *p1 = (const char *)a1;
- const char *p2 = (const char *)a2;
+ const unsigned char *p1 = (const unsigned char *)a1;
+ const unsigned char *p2 = (const unsigned char *)a2;
diff --git a/sdk/recipes/patches/libcares/ppc-amigaos/ipv6-support.p
b/sdk/recipes/patches/libcares/ppc-amigaos/ipv6-support.p
index 3945c75..08fefd3 100644
--- a/sdk/recipes/patches/libcares/ppc-amigaos/ipv6-support.p
+++ b/sdk/recipes/patches/libcares/ppc-amigaos/ipv6-support.p
@@ -1,6 +1,6 @@
--- src/lib/ares_ipv6.h.orig 2017-10-10 15:19:45.611896396 +0100
+++ src/lib/ares_ipv6.h 2017-10-17 15:42:25.304921197 +0100
-@@ -22,6 +22,11 @@
+@@ -32,6 +32,11 @@
#endif
+#ifndef INET6_ADDRSTRLEN
@@ -9,14 +9,14 @@
+
#ifndef HAVE_STRUCT_SOCKADDR_IN6
+#define s6_addr _S6_un._S6_u8
- struct sockaddr_in6
- {
+ struct sockaddr_in6 {
unsigned short sin6_family;
+ unsigned short sin6_port;
--- src/lib/ares__sortaddrinfo.c.orig 2017-10-10 15:19:45.611896396 +0100
+++ src/lib/ares__sortaddrinfo.c 2017-10-17 15:42:25.304921197 +0100
-@@ -71,6 +71,39 @@
-
- #define ARES_IN_LOOPBACK(a) ((((long int)(a)) & 0xff000000) == 0x7f000000)
+@@ -73,6 +73,39 @@
+ #define ARES_IN_LOOPBACK(a) \
+ ((((long unsigned int)(a)) & 0xff000000) == 0x7f000000)
+#ifndef IN6_IS_ADDR_LINKLOCAL
+#define IN6_IS_ADDR_LINKLOCAL(a) \
@@ -54,7 +54,7 @@
/* RFC 4193. */
#define ARES_IN6_IS_ADDR_ULA(a) (((a)->s6_addr[0] & 0xfe) == 0xfc)
-@@ -253,8 +286,13 @@
+@@ -205,8 +238,13 @@
/*
* Find number of matching initial bits between the two addresses a1 and a2.
*/
@@ -66,5 +66,5 @@
const struct in6_addr *a2)
+#endif
{
- const char *p1 = (const char *)a1;
- const char *p2 = (const char *)a2;
+ const unsigned char *p1 = (const unsigned char *)a1;
+ const unsigned char *p2 = (const unsigned char *)a2;
-----------------------------------------------------------------------
Summary of changes:
.../libcares/m68k-unknown-amigaos/ipv6-support.p | 20 ++++++++++----------
.../patches/libcares/ppc-amigaos/ipv6-support.p | 18 +++++++++---------
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/sdk/recipes/patches/libcares/m68k-unknown-amigaos/ipv6-support.p
b/sdk/recipes/patches/libcares/m68k-unknown-amigaos/ipv6-support.p
index 117ec51..873f638 100644
--- a/sdk/recipes/patches/libcares/m68k-unknown-amigaos/ipv6-support.p
+++ b/sdk/recipes/patches/libcares/m68k-unknown-amigaos/ipv6-support.p
@@ -1,6 +1,6 @@
--- src/lib/ares_ipv6.h.orig 2017-10-10 15:19:45.611896396 +0100
+++ src/lib/ares_ipv6.h 2017-10-17 15:42:25.304921197 +0100
-@@ -22,6 +22,11 @@
+@@ -32,6 +32,11 @@
#endif
+#ifndef INET6_ADDRSTRLEN
@@ -9,16 +9,16 @@
+
#ifndef HAVE_STRUCT_SOCKADDR_IN6
+#define s6_addr _S6_un._S6_u8
- struct sockaddr_in6
- {
+ struct sockaddr_in6 {
unsigned short sin6_family;
+ unsigned short sin6_port;
--- src/lib/ares__sortaddrinfo.c.orig 2017-10-10 15:19:45.611896396 +0100
+++ src/lib/ares__sortaddrinfo.c 2017-10-17 15:42:25.304921197 +0100
-@@ -71,6 +71,40 @@
+@@ -73,6 +73,40 @@
+ #define ARES_IN_LOOPBACK(a) \
+ ((((long unsigned int)(a)) & 0xff000000) == 0x7f000000)
- #define ARES_IN_LOOPBACK(a) ((((long int)(a)) & 0xff000000) == 0x7f000000)
-
-+#include <inttypes.h>
++#include <inttypes.h>
+#ifndef IN6_IS_ADDR_LINKLOCAL
+#define IN6_IS_ADDR_LINKLOCAL(a) \
+ ((((__const uint32_t *) (a))[0] & htonl (0xffc00000)) \
@@ -55,7 +55,7 @@
/* RFC 4193. */
#define ARES_IN6_IS_ADDR_ULA(a) (((a)->s6_addr[0] & 0xfe) == 0xfc)
-@@ -253,8 +286,13 @@
+@@ -205,8 +239,13 @@
/*
* Find number of matching initial bits between the two addresses a1 and a2.
*/
@@ -67,5 +67,5 @@
const struct in6_addr *a2)
+#endif
{
- const char *p1 = (const char *)a1;
- const char *p2 = (const char *)a2;
+ const unsigned char *p1 = (const unsigned char *)a1;
+ const unsigned char *p2 = (const unsigned char *)a2;
diff --git a/sdk/recipes/patches/libcares/ppc-amigaos/ipv6-support.p
b/sdk/recipes/patches/libcares/ppc-amigaos/ipv6-support.p
index 3945c75..08fefd3 100644
--- a/sdk/recipes/patches/libcares/ppc-amigaos/ipv6-support.p
+++ b/sdk/recipes/patches/libcares/ppc-amigaos/ipv6-support.p
@@ -1,6 +1,6 @@
--- src/lib/ares_ipv6.h.orig 2017-10-10 15:19:45.611896396 +0100
+++ src/lib/ares_ipv6.h 2017-10-17 15:42:25.304921197 +0100
-@@ -22,6 +22,11 @@
+@@ -32,6 +32,11 @@
#endif
+#ifndef INET6_ADDRSTRLEN
@@ -9,14 +9,14 @@
+
#ifndef HAVE_STRUCT_SOCKADDR_IN6
+#define s6_addr _S6_un._S6_u8
- struct sockaddr_in6
- {
+ struct sockaddr_in6 {
unsigned short sin6_family;
+ unsigned short sin6_port;
--- src/lib/ares__sortaddrinfo.c.orig 2017-10-10 15:19:45.611896396 +0100
+++ src/lib/ares__sortaddrinfo.c 2017-10-17 15:42:25.304921197 +0100
-@@ -71,6 +71,39 @@
-
- #define ARES_IN_LOOPBACK(a) ((((long int)(a)) & 0xff000000) == 0x7f000000)
+@@ -73,6 +73,39 @@
+ #define ARES_IN_LOOPBACK(a) \
+ ((((long unsigned int)(a)) & 0xff000000) == 0x7f000000)
+#ifndef IN6_IS_ADDR_LINKLOCAL
+#define IN6_IS_ADDR_LINKLOCAL(a) \
@@ -54,7 +54,7 @@
/* RFC 4193. */
#define ARES_IN6_IS_ADDR_ULA(a) (((a)->s6_addr[0] & 0xfe) == 0xfc)
-@@ -253,8 +286,13 @@
+@@ -205,8 +238,13 @@
/*
* Find number of matching initial bits between the two addresses a1 and a2.
*/
@@ -66,5 +66,5 @@
const struct in6_addr *a2)
+#endif
{
- const char *p1 = (const char *)a1;
- const char *p2 = (const char *)a2;
+ const unsigned char *p1 = (const unsigned char *)a1;
+ const unsigned char *p2 = (const unsigned char *)a2;
--
Cross-compilation toolchains and environments
_______________________________________________
netsurf-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]