diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2023-12-17 18:46:09 +0000 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2023-12-17 18:46:09 +0000 |
commit | 97654a18425898ade8c97b7985791d86565b885c (patch) | |
tree | 946c351f9e5517a2bc68d65088d134757a66f0f6 /sdk | |
parent | 80fe05aa682574cc4d5977c1614976e122aa2b08 (diff) | |
download | toolchains-97654a18425898ade8c97b7985791d86565b885c.tar.gz toolchains-97654a18425898ade8c97b7985791d86565b885c.tar.bz2 |
SDK/c-ares: more patch refreshing for 1.23.0
Diffstat (limited to 'sdk')
-rw-r--r-- | sdk/recipes/patches/libcares/m68k-unknown-amigaos/ipv6-support.p | 8 | ||||
-rw-r--r-- | sdk/recipes/patches/libcares/ppc-amigaos/ipv6-support.p | 8 |
2 files changed, 8 insertions, 8 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 873f638..ce60c44 100644 --- a/sdk/recipes/patches/libcares/m68k-unknown-amigaos/ipv6-support.p +++ b/sdk/recipes/patches/libcares/m68k-unknown-amigaos/ipv6-support.p @@ -60,11 +60,11 @@ * Find number of matching initial bits between the two addresses a1 and a2. */ +#ifndef HAVE_STRUCT_SOCKADDR_IN6 -+static int common_prefix_len(const struct ares_in6_addr *a1, -+ const struct ares_in6_addr *a2) ++static size_t common_prefix_len(const struct ares_in6_addr *a1, ++ const struct ares_in6_addr *a2) +#else - static int common_prefix_len(const struct in6_addr *a1, - const struct in6_addr *a2) + static size_t common_prefix_len(const struct in6_addr *a1, + const struct in6_addr *a2) +#endif { const unsigned char *p1 = (const unsigned char *)a1; diff --git a/sdk/recipes/patches/libcares/ppc-amigaos/ipv6-support.p b/sdk/recipes/patches/libcares/ppc-amigaos/ipv6-support.p index 08fefd3..f34fb45 100644 --- a/sdk/recipes/patches/libcares/ppc-amigaos/ipv6-support.p +++ b/sdk/recipes/patches/libcares/ppc-amigaos/ipv6-support.p @@ -59,11 +59,11 @@ * Find number of matching initial bits between the two addresses a1 and a2. */ +#ifndef HAVE_STRUCT_SOCKADDR_IN6 -+static int common_prefix_len(const struct ares_in6_addr *a1, -+ const struct ares_in6_addr *a2) ++static size_t common_prefix_len(const struct ares_in6_addr *a1, ++ const struct ares_in6_addr *a2) +#else - static int common_prefix_len(const struct in6_addr *a1, - const struct in6_addr *a2) + static size_t common_prefix_len(const struct in6_addr *a1, + const struct in6_addr *a2) +#endif { const unsigned char *p1 = (const unsigned char *)a1; |