mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
From 0941e560850d54160c24778fa66b605714fd5012 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Mon, 9 Aug 2021 21:18:50 +0200
|
||||
Subject: [PATCH] src/mongo/db/exec/plan_stats.h: fix build with gcc
|
||||
11
|
||||
|
||||
Fix the following build failure with gcc 11:
|
||||
|
||||
In file included from src/mongo/db/query/plan_cache.h:36,
|
||||
from src/mongo/db/catalog/collection_info_cache.h:33,
|
||||
from src/mongo/db/catalog/collection.h:42,
|
||||
from src/mongo/db/exec/requires_collection_stage.h:32,
|
||||
from src/mongo/db/exec/delete.h:32,
|
||||
from src/mongo/db/query/internal_plans.h:33,
|
||||
from src/mongo/db/query/internal_plans.cpp:32:
|
||||
src/mongo/db/exec/plan_stats.h:214:10: error: 'optional' in namespace 'std' does not name a template type
|
||||
214 | std::optional<std::string> replanReason;
|
||||
| ^~~~~~~~
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/8c0875fa413923504515a83d8b679366418c2444
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: already fixed by
|
||||
https://github.com/mongodb/mongo/commit/e78b2bf6eaa0c43bd76dbb841add167b443d2bb0]
|
||||
---
|
||||
src/mongo/db/exec/plan_stats.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/mongo/db/exec/plan_stats.h b/src/mongo/db/exec/plan_stats.h
|
||||
index 43053e27be..813e4edc9e 100644
|
||||
--- a/src/mongo/db/exec/plan_stats.h
|
||||
+++ b/src/mongo/db/exec/plan_stats.h
|
||||
@@ -31,6 +31,7 @@
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
+#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -4,6 +4,7 @@ config BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
|
||||
# ARM needs LDREX/STREX, so ARMv6+
|
||||
default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5
|
||||
default y if BR2_aarch64 || BR2_x86_64
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem
|
||||
|
||||
config BR2_PACKAGE_MONGODB
|
||||
bool "mongodb"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Locally computed:
|
||||
sha256 f44a846514f8db8be2a662210ad7fefc059d8e17ab2c59aceeae8b0b173d8286 mongodb-src-r4.2.10.tar.gz
|
||||
sha256 5bbb9567cc1f358ac7d9f37d9fe749862728bdf9f742d1dfc5e35a8b6c2985ba mongodb-src-r4.2.18.tar.gz
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 APACHE-2.0.txt
|
||||
sha256 09d99ca61eb07873d5334077acba22c33e7f7d0a9fa08c92734e0ac8430d6e27 LICENSE-Community.txt
|
||||
|
||||
@@ -4,20 +4,23 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MONGODB_VERSION = 4.2.10
|
||||
MONGODB_VERSION = 4.2.18
|
||||
MONGODB_SITE = https://fastdl.mongodb.org/src
|
||||
MONGODB_SOURCE = mongodb-src-r$(MONGODB_VERSION).tar.gz
|
||||
|
||||
MONGODB_LICENSE = Apache-2.0 (drivers), SSPL (database)
|
||||
MONGODB_LICENSE_FILES = APACHE-2.0.txt LICENSE-Community.txt
|
||||
|
||||
MONGODB_CPE_ID_VENDOR = mongodb
|
||||
MONGODB_SELINUX_MODULES = mongodb
|
||||
|
||||
MONGODB_DEPENDENCIES = \
|
||||
boost \
|
||||
host-python3-cheetah \
|
||||
host-python3-psutil \
|
||||
host-python3-pyyaml \
|
||||
host-python3-regex \
|
||||
host-python3-requests \
|
||||
host-python-cheetah \
|
||||
host-python-psutil \
|
||||
host-python-pyyaml \
|
||||
host-python-regex \
|
||||
host-python-requests \
|
||||
host-scons \
|
||||
pcre \
|
||||
snappy \
|
||||
@@ -83,7 +86,7 @@ endif
|
||||
|
||||
define MONGODB_BUILD_CMDS
|
||||
(cd $(@D); \
|
||||
$(HOST_DIR)/bin/python3 $(SCONS) \
|
||||
$(SCONS) \
|
||||
$(MONGODB_SCONS_ENV) \
|
||||
$(MONGODB_SCONS_OPTS) \
|
||||
$(MONGODB_SCONS_TARGETS))
|
||||
@@ -91,7 +94,7 @@ endef
|
||||
|
||||
define MONGODB_INSTALL_TARGET_CMDS
|
||||
(cd $(@D); \
|
||||
$(HOST_DIR)/bin/python3 $(SCONS) \
|
||||
$(SCONS) \
|
||||
$(MONGODB_SCONS_ENV) \
|
||||
$(MONGODB_SCONS_OPTS) \
|
||||
--prefix=$(TARGET_DIR)/usr \
|
||||
|
||||
Reference in New Issue
Block a user