From e94cb28568e3712b39d5d37f37c5cc8b2bf32f0a Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Tue, 2 Jan 2018 11:20:46 +0000 Subject: community/mongodb: upgrade to 3.6.1 --- community/mongodb/fix-resolv.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 community/mongodb/fix-resolv.patch (limited to 'community/mongodb/fix-resolv.patch') diff --git a/community/mongodb/fix-resolv.patch b/community/mongodb/fix-resolv.patch new file mode 100644 index 0000000000..09bda7b643 --- /dev/null +++ b/community/mongodb/fix-resolv.patch @@ -0,0 +1,17 @@ +--- mongodb-src-r3.6.1/src/mongo/util/dns_query_posix-impl.h.orig ++++ mongodb-src-r3.6.1/src/mongo/util/dns_query_posix-impl.h +@@ -38,6 +38,14 @@ + #include + // clang-format on + ++// Support deprecated resolver, as in musl libc ++#ifndef res_ninit ++#define res_nclose(arg) ++#define res_ninit(arg) res_init() ++#define res_nsearch(sta, nam, clas, typ, ans, alen) res_search(nam, clas, typ, ans, alen) ++#endif ++ ++ + #include + + #include -- cgit v1.2.3