diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-11 16:04:34 -0600 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-04-03 08:49:55 +0000 |
commit | 8a901de31fa055ed591d487e12f8bb9ffcc0df21 (patch) | |
tree | 10bc98c626703819e94ec25bf0c2eaa0f6fe2cc9 /non-free/mongodb/fix-resolv.patch | |
parent | fffa6ab6963a4a0045f99432ac487957791685ea (diff) | |
download | aports-8a901de31fa055ed591d487e12f8bb9ffcc0df21.tar.bz2 aports-8a901de31fa055ed591d487e12f8bb9ffcc0df21.tar.xz |
community/mongodb: expunge nonfree software
Upstream has switched to a nonfree license.
Diffstat (limited to 'non-free/mongodb/fix-resolv.patch')
-rw-r--r-- | non-free/mongodb/fix-resolv.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/non-free/mongodb/fix-resolv.patch b/non-free/mongodb/fix-resolv.patch new file mode 100644 index 0000000000..09bda7b643 --- /dev/null +++ b/non-free/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 <resolv.h> + // 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 <stdio.h> + + #include <iostream> |