package/c-ares: fix build with latest nodejs
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 28 Aug 2021 15:06:03 +0000 (17:06 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 29 Aug 2021 21:19:51 +0000 (23:19 +0200)
commita9ca15cf9263becea9fd2ba79ba2a8f9884765ba
treecc16c81699839b85f735f0fd4cff4a848cdd7fd7
parent6be5219c4122e7844f842205f343f9006a2146ab
package/c-ares: fix build with latest nodejs

Fix the following build failure with nodejs raised since bump to version
12.22.5 in commit 7038b029d8c8774eca6d7888d6642d7e84ff5165:

../src/cares_wrap.cc:42:11: fatal error: ares_nameser.h: No such file or directory
   42 | # include <ares_nameser.h>
      |           ^~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/a0f867d5e765fc1aa052de5e53ed350b3b20743f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/c-ares/0001-Provide-ares_nameser-h-as-a-public-interface.patch [new file with mode: 0644]
package/c-ares/c-ares.mk