diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-08-24 13:14:12 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-24 17:11:07 -0700 |
commit | 5cf9a144ad16efd6a6de09205da1aa56ec7fed0a (patch) | |
tree | 8045e4d3e32821a8f2c4163b6ab5b6a737ec7071 /meta-oe/recipes-dbs/mongodb/mongodb/0001-Support-deprecated-resolver-functions.patch | |
parent | 9b5562e9a21d9ac6f707548a4170f4b6b81da781 (diff) | |
download | meta-openembedded-5cf9a144ad16efd6a6de09205da1aa56ec7fed0a.tar.gz |
mongodb: Upgrade to 4.0.1 release
Drop/adapt patches as some of them are not needed anymore
Add patches to support musl especially thread stack and resolver
functionality
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs/mongodb/mongodb/0001-Support-deprecated-resolver-functions.patch')
-rw-r--r-- | meta-oe/recipes-dbs/mongodb/mongodb/0001-Support-deprecated-resolver-functions.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/mongodb/mongodb/0001-Support-deprecated-resolver-functions.patch b/meta-oe/recipes-dbs/mongodb/mongodb/0001-Support-deprecated-resolver-functions.patch new file mode 100644 index 000000000..070411ab9 --- /dev/null +++ b/meta-oe/recipes-dbs/mongodb/mongodb/0001-Support-deprecated-resolver-functions.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 5994023a03634dfc0318976c293e7391fe6aa060 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 24 Aug 2018 12:56:22 -0700 | ||
4 | Subject: [PATCH 1/2] Support deprecated resolver functions | ||
5 | |||
6 | Needed for musl libc | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | src/mongo/util/dns_query_posix-impl.h | 6 ++++++ | ||
12 | 1 file changed, 6 insertions(+) | ||
13 | |||
14 | diff --git a/src/mongo/util/dns_query_posix-impl.h b/src/mongo/util/dns_query_posix-impl.h | ||
15 | index d19958010c..bbca3309ed 100644 | ||
16 | --- a/src/mongo/util/dns_query_posix-impl.h | ||
17 | +++ b/src/mongo/util/dns_query_posix-impl.h | ||
18 | @@ -53,6 +53,12 @@ | ||
19 | |||
20 | #include <boost/noncopyable.hpp> | ||
21 | |||
22 | +#ifndef res_ninit | ||
23 | +#define res_nclose(arg) | ||
24 | +#define res_ninit(arg) res_init() | ||
25 | +#define res_nsearch(sta, nam, clas, typ, ans, alen) res_search(nam, clas, typ, ans, alen) | ||
26 | +#endif | ||
27 | + | ||
28 | namespace mongo { | ||
29 | namespace dns { | ||
30 | // The anonymous namespace is safe, in this header, as it is not really a header. It is only used | ||
31 | -- | ||
32 | 2.18.0 | ||
33 | |||