mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-22 04:24:38 +00:00
* This is new LTS release * Add patch to fix build on mips/mips64 * Add patch to build with new c-ares 2.17+ * Enhance native binaries patch to include additional native torque use * Drop mips-warnings.patch and python 3.10 support patch which is already available in 16.x * Refresh rest of patches against 16.x base Signed-off-by: Khem Raj <raj.khem@gmail.com>
25 lines
504 B
Diff
25 lines
504 B
Diff
keep nodejs compatible with c-ares 1.17.1
|
|
|
|
Upstream-Status: Inappropriate [c-ares specific]
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
--- a/src/cares_wrap.h
|
|
+++ b/src/cares_wrap.h
|
|
@@ -22,7 +22,15 @@
|
|
# include <netdb.h>
|
|
#endif // __POSIX__
|
|
|
|
-# include <ares_nameser.h>
|
|
+#if defined(__ANDROID__) || \
|
|
+ defined(__MINGW32__) || \
|
|
+ defined(__OpenBSD__) || \
|
|
+ defined(_MSC_VER)
|
|
+
|
|
+# include <nameser.h>
|
|
+#else
|
|
+# include <arpa/nameser.h>
|
|
+#endif
|
|
|
|
namespace node {
|
|
namespace cares_wrap {
|