diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-03-03 12:45:07 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-03-03 13:00:14 -0800 |
| commit | c9cd58aa6add096cc79dd990f1100b19b26393f2 (patch) | |
| tree | da413e8a291b4e0757c54e5e0feff2a5548ba2ac /meta-oe/dynamic-layers | |
| parent | c3b91945d6b6b1a769d99566a041e9a1a57d8149 (diff) | |
| download | meta-openembedded-c9cd58aa6add096cc79dd990f1100b19b26393f2.tar.gz | |
mongodb: Include <optional> c++ header
Fixes build with gcc11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/dynamic-layers')
| -rw-r--r-- | meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-include-needed-c-header.patch | 29 | ||||
| -rw-r--r-- | meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb | 1 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-include-needed-c-header.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-include-needed-c-header.patch new file mode 100644 index 0000000000..581c2390ec --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-include-needed-c-header.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 383b1dda4800c2514cb31446cd7478692d7d26cf Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 3 Mar 2021 12:43:16 -0800 | ||
| 4 | Subject: [PATCH] include needed c++ header | ||
| 5 | |||
| 6 | Fixes | ||
| 7 | plan_stats.h:214:10: error: 'optional' in namespace 'std' does not name a template type | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | src/mongo/db/exec/plan_stats.h | 1 + | ||
| 13 | 1 file changed, 1 insertion(+) | ||
| 14 | |||
| 15 | diff --git a/src/mongo/db/exec/plan_stats.h b/src/mongo/db/exec/plan_stats.h | ||
| 16 | index ea75f673b8..0cc9b4636d 100644 | ||
| 17 | --- a/src/mongo/db/exec/plan_stats.h | ||
| 18 | +++ b/src/mongo/db/exec/plan_stats.h | ||
| 19 | @@ -31,6 +31,7 @@ | ||
| 20 | |||
| 21 | #include <cstdint> | ||
| 22 | #include <cstdlib> | ||
| 23 | +#include <optional> | ||
| 24 | #include <string> | ||
| 25 | #include <vector> | ||
| 26 | |||
| 27 | -- | ||
| 28 | 2.30.1 | ||
| 29 | |||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb index a153498480..d0c4eba7ee 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb | |||
| @@ -27,6 +27,7 @@ SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4 \ | |||
| 27 | file://1296.patch \ | 27 | file://1296.patch \ |
| 28 | file://0001-Fix-compilation-with-fno-common.patch \ | 28 | file://0001-Fix-compilation-with-fno-common.patch \ |
| 29 | file://0001-stacktrace-Define-ARCH_BITS-for-x86.patch \ | 29 | file://0001-stacktrace-Define-ARCH_BITS-for-x86.patch \ |
| 30 | file://0001-include-needed-c-header.patch \ | ||
| 30 | " | 31 | " |
| 31 | SRC_URI_append_libc-musl ="\ | 32 | SRC_URI_append_libc-musl ="\ |
| 32 | file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \ | 33 | file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \ |
