summaryrefslogtreecommitdiff
path: root/nodejs/system-c-ares.patch
blob: 9e464f91b734ebe30ec830c27a08d771b94d2848 (plain)
    1 From 0bfb8ec19adf2106c505f3e0a97c99b81694524b Mon Sep 17 00:00:00 2001
    2 From: Beth Griggs <bgriggs@redhat.com>
    3 Date: Tue, 10 Aug 2021 10:10:09 +0100
    4 Subject: [PATCH] deps: update c-ares to 1.17.2
    5 
    6 Refs: https://github.com/c-ares/c-ares/releases/tag/cares-1_17_2
    7 ---
    8  deps/cares/RELEASE-NOTES                      | 121 +++--
    9  deps/cares/cares.gyp                          |   2 +-
   10  deps/cares/include/ares.h                     |   2 +-
   11  deps/cares/include/ares_version.h             |   4 +-
   12  .../cares/src/lib/ares__parse_into_addrinfo.c |  16 +-
   13  deps/cares/src/lib/ares__sortaddrinfo.c       |   4 +
   14  deps/cares/src/lib/ares_create_query.c        |  17 +-
   15  deps/cares/src/lib/ares_expand_name.c         | 137 ++++-
   16  deps/cares/src/lib/ares_expand_string.c       |   7 +-
   17  deps/cares/src/lib/ares_free_hostent.c        |  10 +-
   18  deps/cares/src/lib/ares_freeaddrinfo.c        |   2 +
   19  deps/cares/src/lib/ares_getaddrinfo.c         |  24 +-
   20  deps/cares/src/lib/ares_gethostbyaddr.c       |  10 +-
   21  deps/cares/src/lib/ares_gethostbyname.c       |  10 +-
   22  deps/cares/src/lib/ares_getnameinfo.c         |  10 +-
   23  deps/cares/src/lib/ares_init.c                |  88 +++-
   24  deps/cares/src/lib/ares_library_init.c        |   9 +-
   25  deps/cares/src/lib/ares_library_init.h        |   2 +-
   26  deps/cares/src/lib/ares_nameser.h             | 482 ++++++++++++++++++
   27  deps/cares/src/lib/ares_parse_a_reply.c       |  14 +-
   28  deps/cares/src/lib/ares_parse_aaaa_reply.c    |  14 +-
   29  deps/cares/src/lib/ares_parse_caa_reply.c     |  14 +-
   30  deps/cares/src/lib/ares_parse_mx_reply.c      |  10 +-
   31  deps/cares/src/lib/ares_parse_naptr_reply.c   |  15 +-
   32  deps/cares/src/lib/ares_parse_ns_reply.c      |  16 +-
   33  deps/cares/src/lib/ares_parse_ptr_reply.c     |  99 ++--
   34  deps/cares/src/lib/ares_parse_soa_reply.c     |  24 +-
   35  deps/cares/src/lib/ares_parse_srv_reply.c     |  15 +-
   36  deps/cares/src/lib/ares_parse_txt_reply.c     |  10 +-
   37  deps/cares/src/lib/ares_private.h             |   6 +-
   38  deps/cares/src/lib/ares_process.c             |  11 +-
   39  deps/cares/src/lib/ares_query.c               |  10 +-
   40  deps/cares/src/lib/ares_send.c                |  10 +-
   41  deps/cares/src/lib/ares_setup.h               |   5 +-
   42  deps/cares/src/lib/ares_strsplit.c            |   4 +
   43  deps/cares/src/lib/inet_net_pton.c            |  10 +-
   44  deps/cares/src/lib/inet_ntop.c                |  10 +-
   45  deps/cares/src/lib/nameser.h                  | 218 --------
   46  src/cares_wrap.h                              |  10 +-
   47  39 files changed, 889 insertions(+), 593 deletions(-)
   48  create mode 100644 deps/cares/src/lib/ares_nameser.h
   49  delete mode 100644 deps/cares/src/lib/nameser.h
   50 
   51 diff --git a/src/cares_wrap.h b/src/cares_wrap.h
   52 index aee46a935b3a..60f99e65edf3 100644
   53 --- a/src/cares_wrap.h
   54 +++ b/src/cares_wrap.h
   55 @@ -22,15 +22,7 @@
   56  # include <netdb.h>
   57  #endif  // __POSIX__
   58  
   59 -#if defined(__ANDROID__) || \
   60 -    defined(__MINGW32__) || \
   61 -    defined(__OpenBSD__) || \
   62 -    defined(_MSC_VER)
   63 -
   64 -# include <nameser.h>
   65 -#else
   66 -# include <arpa/nameser.h>
   67 -#endif
   68 +# include <ares_nameser.h>
   69  
   70  namespace node {
   71  namespace cares_wrap {

Generated by cgit