libdbus-c++: Refresh patches v2
PATCH v2 1/2 libdbus-c++: Refresh patches v2
v2]
refresh via quilt push/refresh rather than devtool
Signed-off-by Armin Kuster <[email protected]>
--- ...04-use-POSIX-poll.h-instead-of-sys-poll.h.patch | 29 ++++++++++------------ .../fix-missing-unistd.h-include.patch | 14 +++++------ 2 files changed, 19 insertions(+), 24 deletions(-)
meta-oe/recipes-core/dbus/libdbus-c++-0.9.0/0004-use-POSIX-poll.h-instead-of-sys-poll.h.patch +13 -16
@@ -33,10 +33,10 @@ Signed-off-by: André Draszik <[email protected]> src/pipe.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -diff --git a/src/eventloop-integration.cpp b/src/eventloop-integration.cpp -index 5776971..271b503 100644 ---- a/src/eventloop-integration.cpp -+++ b/src/eventloop-integration.cpp +Index: libdbus-c++-0.9.0/src/eventloop-integration.cpp +=================================================================== +--- libdbus-c++-0.9.0.orig/src/eventloop-integration.cpp ++++ libdbus-c++-0.9.0/src/eventloop-integration.cpp @@ -36,7 +36,7 @@ /* STD */ #include <string.h>
@@ -44,12 +44,12 @@ index 5776971..271b503 100644 -#include <sys/poll.h> +#include <poll.h> #include <fcntl.h> - #include <unistd.h> -diff --git a/src/eventloop.cpp b/src/eventloop.cpp -index f622812..7790e1e 100644 ---- a/src/eventloop.cpp -+++ b/src/eventloop.cpp + using namespace DBus; +Index: libdbus-c++-0.9.0/src/eventloop.cpp +=================================================================== +--- libdbus-c++-0.9.0.orig/src/eventloop.cpp ++++ libdbus-c++-0.9.0/src/eventloop.cpp @@ -28,7 +28,7 @@ #include <dbus-c++/eventloop.h> #include <dbus-c++/debug.h>
@@ -59,10 +59,10 @@ index f622812..7790e1e 100644 #include <sys/time.h> #include <dbus/dbus.h> -diff --git a/src/pipe.cpp b/src/pipe.cpp -index 01211b3..45c2ba6 100644 ---- a/src/pipe.cpp -+++ b/src/pipe.cpp +Index: libdbus-c++-0.9.0/src/pipe.cpp +=================================================================== +--- libdbus-c++-0.9.0.orig/src/pipe.cpp ++++ libdbus-c++-0.9.0/src/pipe.cpp @@ -32,7 +32,7 @@ /* STD */
@@ -72,6 +72,3 @@ index 01211b3..45c2ba6 100644 #include <fcntl.h> #include <errno.h> #include <cassert> --- -2.10.2 -
meta-oe/recipes-core/dbus/libdbus-c++-0.9.0/fix-missing-unistd.h-include.patch +6 -8
@@ -24,17 +24,15 @@ Signed-off-by: Thilo Cestonaro <[email protected]> include/dbus-c++/eventloop-integration.h | 1 + 1 file changed, 1 insertion(+) -diff --git a/include/dbus-c++/eventloop-integration.h b/include/dbus-c++/eventloop-integration.h -index 5108340..1b56ab5 100644 ---- a/include/dbus-c++/eventloop-integration.h -+++ b/include/dbus-c++/eventloop-integration.h -@@ -27,6 +27,7 @@ +Index: libdbus-c++-0.9.0/include/dbus-c++/eventloop-integration.h +=================================================================== +--- libdbus-c++-0.9.0.orig/include/dbus-c++/eventloop-integration.h ++++ libdbus-c++-0.9.0/include/dbus-c++/eventloop-integration.h +@@ -26,6 +26,7 @@ + #define __DBUSXX_EVENTLOOP_INTEGRATION_H - #include <cstring> #include <errno.h> +#include <unistd.h> #include "api.h" #include "dispatcher.h" #include "util.h" --- -1.7.9.7
Signature · 1 line
2.7.4
PATCH v2 2/2 mongodb: refresh patches and remove un-needed patch
[V2]
remove patch, changes upstream
Signed-off-by Armin Kuster <[email protected]>
--- ...to-use-build-settings-from-environment-va.patch | 37 +++++++++---------- .../0001-Use-long-long-instead-of-int64_t.patch | 21 +++++------ .../mongodb/0001-mongo-Add-using-std-string.patch | 43 ++++++++++------------ ...-Add-missing-dependenncy-on-local_shardin.patch | 11 ++---- meta-oe/recipes-dbs/mongodb/mongodb_git.bb | 1 - 5 files changed, 50 insertions(+), 63 deletions(-)
meta-oe/recipes-dbs/mongodb/mongodb/0001-Tell-scons-to-use-build-settings-from-environment-va.patch +17 -20
@@ -9,11 +9,11 @@ Signed-off-by: Sven Ebenfeld <[email protected]> src/mongo/util/SConscript | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) -diff --git a/SConstruct b/SConstruct -index 5082a4b..3370f70 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -507,6 +507,7 @@ def variable_arch_converter(val): +Index: git/SConstruct +=================================================================== +--- git.orig/SConstruct ++++ git/SConstruct +@@ -548,6 +548,7 @@ def variable_arch_converter(val): 'amd64': 'x86_64', 'emt64': 'x86_64', 'x86': 'i386',
@@ -21,8 +21,8 @@ index 5082a4b..3370f70 100644 } val = val.lower() -@@ -568,7 +569,8 @@ env_vars.Add('ARFLAGS', - converter=variable_shlex_converter) +@@ -627,7 +628,8 @@ env_vars.Add( + ) env_vars.Add('CC', - help='Select the C compiler to use')
@@ -31,7 +31,7 @@ index 5082a4b..3370f70 100644 env_vars.Add('CCFLAGS', help='Sets flags for the C and C++ compiler', -@@ -588,7 +590,8 @@ env_vars.Add('CPPPATH', +@@ -647,7 +649,8 @@ env_vars.Add('CPPPATH', converter=variable_shlex_converter) env_vars.Add('CXX',
@@ -41,7 +41,7 @@ index 5082a4b..3370f70 100644 env_vars.Add('CXXFLAGS', help='Sets flags for the C++ compiler', -@@ -818,6 +821,7 @@ envDict = dict(BUILD_ROOT=buildDir, +@@ -895,6 +898,7 @@ envDict = dict(BUILD_ROOT=buildDir, ) env = Environment(variables=env_vars, **envDict)
@@ -49,19 +49,16 @@ index 5082a4b..3370f70 100644 del envDict env.AddMethod(env_os_is_wrapper, 'TargetOSIs') -diff --git a/src/mongo/util/SConscript b/src/mongo/util/SConscript -index 6add602..8d05a62 100644 ---- a/src/mongo/util/SConscript -+++ b/src/mongo/util/SConscript -@@ -251,6 +251,8 @@ if get_option('allocator') == 'tcmalloc': - 'MONGO_HAVE_GPERFTOOLS_GET_THREAD_CACHE_SIZE' +Index: git/src/mongo/util/SConscript +=================================================================== +--- git.orig/src/mongo/util/SConscript ++++ git/src/mongo/util/SConscript +@@ -274,6 +274,8 @@ if env['MONGO_ALLOCATOR'] == 'tcmalloc': + 'MONGO_HAVE_GPERFTOOLS_SIZE_CLASS_STATS' ] ) + if not use_system_version_of_library('valgrind'): + tcmspEnv.InjectThirdPartyIncludePaths('valgrind') - tcmspEnv.Library( - target='tcmalloc_set_parameter', --- -1.9.1 - + if not use_system_version_of_library('valgrind'): + # Include valgrind since tcmalloc disables itself while running under valgrind
meta-oe/recipes-dbs/mongodb/mongodb/0001-Use-long-long-instead-of-int64_t.patch +9 -12
@@ -13,11 +13,11 @@ Upstream-Status: Pending src/mongo/util/procparser.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -diff --git a/src/mongo/util/procparser.cpp b/src/mongo/util/procparser.cpp -index 36f2ae0254..2c164bcbf3 100644 ---- a/src/mongo/util/procparser.cpp -+++ b/src/mongo/util/procparser.cpp -@@ -260,7 +260,7 @@ Status parseProcStat(const std::vector<StringData>& keys, +Index: git/src/mongo/util/procparser.cpp +=================================================================== +--- git.orig/src/mongo/util/procparser.cpp ++++ git/src/mongo/util/procparser.cpp +@@ -260,7 +260,7 @@ Status parseProcStat(const std::vector<S StringData stringValue((*partIt).begin(), (*partIt).end() - (*partIt).begin());
@@ -26,7 +26,7 @@ index 36f2ae0254..2c164bcbf3 100644 if (!parseNumberFromString(stringValue, &value).isOK()) { value = 0; -@@ -272,7 +272,7 @@ Status parseProcStat(const std::vector<StringData>& keys, +@@ -272,7 +272,7 @@ Status parseProcStat(const std::vector<S } else { StringData stringValue((*partIt).begin(), (*partIt).end() - (*partIt).begin());
@@ -35,7 +35,7 @@ index 36f2ae0254..2c164bcbf3 100644 if (!parseNumberFromString(stringValue, &value).isOK()) { value = 0; -@@ -365,7 +365,7 @@ Status parseProcMemInfo(const std::vector<StringData>& keys, +@@ -365,7 +365,7 @@ Status parseProcMemInfo(const std::vecto StringData stringValue((*partIt).begin(), (*partIt).end());
@@ -44,7 +44,7 @@ index 36f2ae0254..2c164bcbf3 100644 if (!parseNumberFromString(stringValue, &value).isOK()) { value = 0; -@@ -426,7 +426,7 @@ Status parseProcDiskStats(const std::vector<StringData>& disks, +@@ -426,7 +426,7 @@ Status parseProcDiskStats(const std::vec StringData data, BSONObjBuilder* builder) { bool foundKeys = false;
@@ -53,7 +53,7 @@ index 36f2ae0254..2c164bcbf3 100644 stats.reserve(kDiskFieldCount); using string_split_iterator = boost::split_iterator<StringData::const_iterator>; -@@ -501,7 +501,7 @@ Status parseProcDiskStats(const std::vector<StringData>& disks, +@@ -501,7 +501,7 @@ Status parseProcDiskStats(const std::vec StringData stringValue((*partIt).begin(), (*partIt).end());
@@ -62,6 +62,3 @@ index 36f2ae0254..2c164bcbf3 100644 if (!parseNumberFromString(stringValue, &value).isOK()) { value = 0; --- -2.14.1 -
meta-oe/recipes-dbs/mongodb/mongodb/0001-mongo-Add-using-std-string.patch +20 -23
70 lines not on this page · raw message
meta-oe/recipes-dbs/mongodb/mongodb/0002-d_state.cpp-Add-missing-dependenncy-on-local_shardin.patch +4 -7
@@ -12,10 +12,10 @@ Signed-off-by: Khem Raj <[email protected]> src/mongo/s/SConscript | 1 + 1 file changed, 1 insertion(+) -diff --git a/src/mongo/s/SConscript b/src/mongo/s/SConscript -index 71720be517..51bd199127 100644 ---- a/src/mongo/s/SConscript -+++ b/src/mongo/s/SConscript +Index: git/src/mongo/s/SConscript +=================================================================== +--- git.orig/src/mongo/s/SConscript ++++ git/src/mongo/s/SConscript @@ -317,5 +317,6 @@ env.Library( "$BUILD_DIR/mongo/db/s/sharding", "$BUILD_DIR/mongo/executor/network_interface_factory",
@@ -23,6 +23,3 @@ index 71720be517..51bd199127 100644 + "$BUILD_DIR/mongo/s/local_sharding_info", ], ) --- -2.13.3 -
meta-oe/recipes-dbs/mongodb/mongodb_git.bb +0 -1
@@ -11,7 +11,6 @@ PV = "3.4.13+git${SRCPV}" SRCREV = "fbdef2ccc53e0fcc9afb570063633d992b2aae42" SRC_URI = "git://github.com/mongodb/mongo.git;branch=v3.4 \ file://0001-Tell-scons-to-use-build-settings-from-environment-va.patch \ - file://0001-mongo-Add-using-std-string.patch \ file://0002-d_state.cpp-Add-missing-dependenncy-on-local_shardin.patch \ file://0001-Use-long-long-instead-of-int64_t.patch \ file://0001-Use-__GLIBC__-to-control-use-of-gnu_get_libc_version.patch \
Signature · 1 line
2.7.4
Re: [meta-oe][v2][PATCH 2/2] mongodb: refresh patches and remove un-needed patch
Quoted 8 lines · Armin Kuster
[V2]
remove patch, changes upstreamSigned-off-by Armin Kuster <[email protected]>--- ...to-use-build-settings-from-environment-va.patch | 37 +++++++++---------- .../0001-Use-long-long-instead-of-int64_t.patch | 21 +++++------ .../mongodb/0001-mongo-Add-using-std-string.patch | 43 ++++++++++------------
You forgot to remove the actual patch?
Thanks,
Anuj
Quoted 262 lines
...-Add-missing-dependenncy-on-local_shardin.patch | 11 ++---- meta-oe/recipes-dbs/mongodb/mongodb_git.bb | 1 - 5 files changed, 50 insertions(+), 63 deletions(-)meta-oe/recipes-dbs/mongodb/mongodb/0001-Tell-scons-to-use-build-settings-from-environment-va.patch +17
-20@@ -9,11 +9,11 @@ Signed-off-by: Sven Ebenfeld <[email protected]> src/mongo/util/SConscript | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) -diff --git a/SConstruct b/SConstruct -index 5082a4b..3370f70 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -507,6 +507,7 @@ def variable_arch_converter(val): +Index: git/SConstruct +=================================================================== +--- git.orig/SConstruct ++++ git/SConstruct +@@ -548,6 +548,7 @@ def variable_arch_converter(val): 'amd64': 'x86_64', 'emt64': 'x86_64', 'x86': 'i386',@@ -21,8 +21,8 @@ index 5082a4b..3370f70 100644 } val = val.lower() -@@ -568,7 +569,8 @@ env_vars.Add('ARFLAGS', - converter=variable_shlex_converter) +@@ -627,7 +628,8 @@ env_vars.Add( + ) env_vars.Add('CC', - help='Select the C compiler to use')@@ -31,7 +31,7 @@ index 5082a4b..3370f70 100644 env_vars.Add('CCFLAGS', help='Sets flags for the C and C++ compiler', -@@ -588,7 +590,8 @@ env_vars.Add('CPPPATH', +@@ -647,7 +649,8 @@ env_vars.Add('CPPPATH', converter=variable_shlex_converter) env_vars.Add('CXX',@@ -41,7 +41,7 @@ index 5082a4b..3370f70 100644 env_vars.Add('CXXFLAGS', help='Sets flags for the C++ compiler', -@@ -818,6 +821,7 @@ envDict = dict(BUILD_ROOT=buildDir, +@@ -895,6 +898,7 @@ envDict = dict(BUILD_ROOT=buildDir, ) env = Environment(variables=env_vars, **envDict)@@ -49,19 +49,16 @@ index 5082a4b..3370f70 100644 del envDict env.AddMethod(env_os_is_wrapper, 'TargetOSIs') -diff --git a/src/mongo/util/SConscript b/src/mongo/util/SConscript -index 6add602..8d05a62 100644 ---- a/src/mongo/util/SConscript -+++ b/src/mongo/util/SConscript -@@ -251,6 +251,8 @@ if get_option('allocator') == 'tcmalloc': - 'MONGO_HAVE_GPERFTOOLS_GET_THREAD_CACHE_SIZE' +Index: git/src/mongo/util/SConscript +=================================================================== +--- git.orig/src/mongo/util/SConscript ++++ git/src/mongo/util/SConscript +@@ -274,6 +274,8 @@ if env['MONGO_ALLOCATOR'] == 'tcmalloc': + 'MONGO_HAVE_GPERFTOOLS_SIZE_CLASS_STATS' ] ) + if not use_system_version_of_library('valgrind'): + tcmspEnv.InjectThirdPartyIncludePaths('valgrind') - tcmspEnv.Library( - target='tcmalloc_set_parameter', --- -1.9.1 - + if not use_system_version_of_library('valgrind'): + # Include valgrind since tcmalloc disables itself while running under valgrindmeta-oe/recipes-dbs/mongodb/mongodb/0001-Use-long-long-instead-of-int64_t.patch +9
-12@@ -13,11 +13,11 @@ Upstream-Status: Pending src/mongo/util/procparser.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -diff --git a/src/mongo/util/procparser.cpp b/src/mongo/util/procparser.cpp -index 36f2ae0254..2c164bcbf3 100644 ---- a/src/mongo/util/procparser.cpp -+++ b/src/mongo/util/procparser.cpp -@@ -260,7 +260,7 @@ Status parseProcStat(const std::vector<StringData>& keys, +Index: git/src/mongo/util/procparser.cpp +=================================================================== +--- git.orig/src/mongo/util/procparser.cpp ++++ git/src/mongo/util/procparser.cpp +@@ -260,7 +260,7 @@ Status parseProcStat(const std::vector<S StringData stringValue((*partIt).begin(), (*partIt).end() - (*partIt).begin());@@ -26,7 +26,7 @@ index 36f2ae0254..2c164bcbf3 100644 if (!parseNumberFromString(stringValue, &value).isOK()) { value = 0; -@@ -272,7 +272,7 @@ Status parseProcStat(const std::vector<StringData>& keys, +@@ -272,7 +272,7 @@ Status parseProcStat(const std::vector<S } else { StringData stringValue((*partIt).begin(), (*partIt).end() - (*partIt).begin());@@ -35,7 +35,7 @@ index 36f2ae0254..2c164bcbf3 100644 if (!parseNumberFromString(stringValue, &value).isOK()) { value = 0; -@@ -365,7 +365,7 @@ Status parseProcMemInfo(const std::vector<StringData>& keys, +@@ -365,7 +365,7 @@ Status parseProcMemInfo(const std::vecto StringData stringValue((*partIt).begin(), (*partIt).end());@@ -44,7 +44,7 @@ index 36f2ae0254..2c164bcbf3 100644 if (!parseNumberFromString(stringValue, &value).isOK()) { value = 0; -@@ -426,7 +426,7 @@ Status parseProcDiskStats(const std::vector<StringData>& disks, +@@ -426,7 +426,7 @@ Status parseProcDiskStats(const std::vec StringData data, BSONObjBuilder* builder) { bool foundKeys = false;@@ -53,7 +53,7 @@ index 36f2ae0254..2c164bcbf3 100644 stats.reserve(kDiskFieldCount); using string_split_iterator = boost::split_iterator<StringData::const_iterator>; -@@ -501,7 +501,7 @@ Status parseProcDiskStats(const std::vector<StringData>& disks, +@@ -501,7 +501,7 @@ Status parseProcDiskStats(const std::vec StringData stringValue((*partIt).begin(), (*partIt).end());@@ -62,6 +62,3 @@ index 36f2ae0254..2c164bcbf3 100644 if (!parseNumberFromString(stringValue, &value).isOK()) { value = 0; --- -2.14.1 -meta-oe/recipes-dbs/mongodb/mongodb/0001-mongo-Add-using-std-string.patch +20
-23@@ -18,22 +18,22 @@ Signed-off-by: Khem Raj <[email protected]> src/mongo/util/net/miniwebserver.cpp | 1 + 4 files changed, 5 insertions(+) -diff --git a/src/mongo/db/dbwebserver.cpp b/src/mongo/db/dbwebserver.cpp -index b202e0500b..0255613524 100644 ---- a/src/mongo/db/dbwebserver.cpp -+++ b/src/mongo/db/dbwebserver.cpp -@@ -67,6 +67,7 @@ namespace mongo { - using std::map; +Index: git/src/mongo/db/dbwebserver.cpp +=================================================================== +--- git.orig/src/mongo/db/dbwebserver.cpp ++++ git/src/mongo/db/dbwebserver.cpp +@@ -68,6 +68,7 @@ using std::map; + using std::string; using std::stringstream; using std::vector; +using std::string; using namespace html; -diff --git a/src/mongo/db/matcher/expression_leaf.cpp b/src/mongo/db/matcher/expression_leaf.cpp -index d562bff141..4d931985e2 100644 ---- a/src/mongo/db/matcher/expression_leaf.cpp -+++ b/src/mongo/db/matcher/expression_leaf.cpp +Index: git/src/mongo/db/matcher/expression_leaf.cpp +=================================================================== +--- git.orig/src/mongo/db/matcher/expression_leaf.cpp ++++ git/src/mongo/db/matcher/expression_leaf.cpp @@ -44,6 +44,8 @@ #include "mongo/stdx/memory.h" #include "mongo/util/mongoutils/str.h"@@ -43,10 +43,10 @@ index d562bff141..4d931985e2 100644 namespace mongo { Status LeafMatchExpression::setPath(StringData path) { -diff --git a/src/mongo/db/repl/master_slave.cpp b/src/mongo/db/repl/master_slave.cpp -index 05faad1259..ea25d7151b 100644 ---- a/src/mongo/db/repl/master_slave.cpp -+++ b/src/mongo/db/repl/master_slave.cpp +Index: git/src/mongo/db/repl/master_slave.cpp +=================================================================== +--- git.orig/src/mongo/db/repl/master_slave.cpp ++++ git/src/mongo/db/repl/master_slave.cpp @@ -78,6 +78,7 @@ using std::endl; using std::max; using std::min;@@ -55,18 +55,15 @@ index 05faad1259..ea25d7151b 100644 using std::stringstream; using std::unique_ptr; using std::vector; -diff --git a/src/mongo/util/net/miniwebserver.cpp b/src/mongo/util/net/miniwebserver.cpp -index 5f4165d42f..239720c349 100644 ---- a/src/mongo/util/net/miniwebserver.cpp -+++ b/src/mongo/util/net/miniwebserver.cpp -@@ -46,6 +46,7 @@ namespace mongo { - +Index: git/src/mongo/util/net/miniwebserver.cpp +=================================================================== +--- git.orig/src/mongo/util/net/miniwebserver.cpp ++++ git/src/mongo/util/net/miniwebserver.cpp +@@ -47,6 +47,7 @@ namespace mongo { using std::shared_ptr; + using std::string; using std::stringstream; +using std::string; using std::vector; MiniWebServer::MiniWebServer(const string& name, const string& ip, int port, ServiceContext* ctx) --- -2.13.3 -meta-oe/recipes-dbs/mongodb/mongodb/0002-d_state.cpp-Add-missing-dependenncy-on-local_shardin.patch +4
-7@@ -12,10 +12,10 @@ Signed-off-by: Khem Raj <[email protected]> src/mongo/s/SConscript | 1 + 1 file changed, 1 insertion(+) -diff --git a/src/mongo/s/SConscript b/src/mongo/s/SConscript -index 71720be517..51bd199127 100644 ---- a/src/mongo/s/SConscript -+++ b/src/mongo/s/SConscript +Index: git/src/mongo/s/SConscript +=================================================================== +--- git.orig/src/mongo/s/SConscript ++++ git/src/mongo/s/SConscript @@ -317,5 +317,6 @@ env.Library( "$BUILD_DIR/mongo/db/s/sharding", "$BUILD_DIR/mongo/executor/network_interface_factory",@@ -23,6 +23,3 @@ index 71720be517..51bd199127 100644 + "$BUILD_DIR/mongo/s/local_sharding_info", ], ) --- -2.13.3 -meta-oe/recipes-dbs/mongodb/mongodb_git.bb +0
-1@@ -11,7 +11,6 @@ PV = "3.4.13+git${SRCPV}" SRCREV = "fbdef2ccc53e0fcc9afb570063633d992b2aae42" SRC_URI = "git://github.com/mongodb/mongo.git;branch=v3.4 \ file://0001-Tell-scons-to-use-build-settings-from-environment-va.patch \ - file://0001-mongo-Add-using-std-string.patch \ file://0002-d_state.cpp-Add-missing-dependenncy-on-local_shardin.patch \ file://0001-Use-long-long-instead-of-int64_t.patch \ file://0001-Use-__GLIBC__-to-control-use-of-gnu_get_libc_version.patch \
Re: [meta-oe][v2][PATCH 2/2] mongodb: refresh patches and remove un-needed patch
Quoted 10 lines · Anuj Mittal
Quoted 8 lines · Armin Kuster
[V2]
remove patch, changes upstreamSigned-off-by Armin Kuster <[email protected]>--- ...to-use-build-settings-from-environment-va.patch | 37 +++++++++---------- .../0001-Use-long-long-instead-of-int64_t.patch | 21 +++++------ .../mongodb/0001-mongo-Add-using-std-string.patch | 43 ++++++++++------------You forgot to remove the actual patch?
thanks.
- armin
Quoted 266 lines
Thanks,
AnujQuoted 262 lines
...-Add-missing-dependenncy-on-local_shardin.patch | 11 ++---- meta-oe/recipes-dbs/mongodb/mongodb_git.bb | 1 - 5 files changed, 50 insertions(+), 63 deletions(-)meta-oe/recipes-dbs/mongodb/mongodb/0001-Tell-scons-to-use-build-settings-from-environment-va.patch +17
-20@@ -9,11 +9,11 @@ Signed-off-by: Sven Ebenfeld <[email protected]> src/mongo/util/SConscript | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) -diff --git a/SConstruct b/SConstruct -index 5082a4b..3370f70 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -507,6 +507,7 @@ def variable_arch_converter(val): +Index: git/SConstruct +=================================================================== +--- git.orig/SConstruct ++++ git/SConstruct +@@ -548,6 +548,7 @@ def variable_arch_converter(val): 'amd64': 'x86_64', 'emt64': 'x86_64', 'x86': 'i386',@@ -21,8 +21,8 @@ index 5082a4b..3370f70 100644 } val = val.lower() -@@ -568,7 +569,8 @@ env_vars.Add('ARFLAGS', - converter=variable_shlex_converter) +@@ -627,7 +628,8 @@ env_vars.Add( + ) env_vars.Add('CC', - help='Select the C compiler to use')@@ -31,7 +31,7 @@ index 5082a4b..3370f70 100644 env_vars.Add('CCFLAGS', help='Sets flags for the C and C++ compiler', -@@ -588,7 +590,8 @@ env_vars.Add('CPPPATH', +@@ -647,7 +649,8 @@ env_vars.Add('CPPPATH', converter=variable_shlex_converter) env_vars.Add('CXX',@@ -41,7 +41,7 @@ index 5082a4b..3370f70 100644 env_vars.Add('CXXFLAGS', help='Sets flags for the C++ compiler', -@@ -818,6 +821,7 @@ envDict = dict(BUILD_ROOT=buildDir, +@@ -895,6 +898,7 @@ envDict = dict(BUILD_ROOT=buildDir, ) env = Environment(variables=env_vars, **envDict)@@ -49,19 +49,16 @@ index 5082a4b..3370f70 100644 del envDict env.AddMethod(env_os_is_wrapper, 'TargetOSIs') -diff --git a/src/mongo/util/SConscript b/src/mongo/util/SConscript -index 6add602..8d05a62 100644 ---- a/src/mongo/util/SConscript -+++ b/src/mongo/util/SConscript -@@ -251,6 +251,8 @@ if get_option('allocator') == 'tcmalloc': - 'MONGO_HAVE_GPERFTOOLS_GET_THREAD_CACHE_SIZE' +Index: git/src/mongo/util/SConscript +=================================================================== +--- git.orig/src/mongo/util/SConscript ++++ git/src/mongo/util/SConscript +@@ -274,6 +274,8 @@ if env['MONGO_ALLOCATOR'] == 'tcmalloc': + 'MONGO_HAVE_GPERFTOOLS_SIZE_CLASS_STATS' ] ) + if not use_system_version_of_library('valgrind'): + tcmspEnv.InjectThirdPartyIncludePaths('valgrind') - tcmspEnv.Library( - target='tcmalloc_set_parameter', --- -1.9.1 - + if not use_system_version_of_library('valgrind'): + # Include valgrind since tcmalloc disables itself while running under valgrindmeta-oe/recipes-dbs/mongodb/mongodb/0001-Use-long-long-instead-of-int64_t.patch +9
-12@@ -13,11 +13,11 @@ Upstream-Status: Pending src/mongo/util/procparser.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -diff --git a/src/mongo/util/procparser.cpp b/src/mongo/util/procparser.cpp -index 36f2ae0254..2c164bcbf3 100644 ---- a/src/mongo/util/procparser.cpp -+++ b/src/mongo/util/procparser.cpp -@@ -260,7 +260,7 @@ Status parseProcStat(const std::vector<StringData>& keys, +Index: git/src/mongo/util/procparser.cpp +=================================================================== +--- git.orig/src/mongo/util/procparser.cpp ++++ git/src/mongo/util/procparser.cpp +@@ -260,7 +260,7 @@ Status parseProcStat(const std::vector<S StringData stringValue((*partIt).begin(), (*partIt).end() - (*partIt).begin());@@ -26,7 +26,7 @@ index 36f2ae0254..2c164bcbf3 100644 if (!parseNumberFromString(stringValue, &value).isOK()) { value = 0; -@@ -272,7 +272,7 @@ Status parseProcStat(const std::vector<StringData>& keys, +@@ -272,7 +272,7 @@ Status parseProcStat(const std::vector<S } else { StringData stringValue((*partIt).begin(), (*partIt).end() - (*partIt).begin());@@ -35,7 +35,7 @@ index 36f2ae0254..2c164bcbf3 100644 if (!parseNumberFromString(stringValue, &value).isOK()) { value = 0; -@@ -365,7 +365,7 @@ Status parseProcMemInfo(const std::vector<StringData>& keys, +@@ -365,7 +365,7 @@ Status parseProcMemInfo(const std::vecto StringData stringValue((*partIt).begin(), (*partIt).end());@@ -44,7 +44,7 @@ index 36f2ae0254..2c164bcbf3 100644 if (!parseNumberFromString(stringValue, &value).isOK()) { value = 0; -@@ -426,7 +426,7 @@ Status parseProcDiskStats(const std::vector<StringData>& disks, +@@ -426,7 +426,7 @@ Status parseProcDiskStats(const std::vec StringData data, BSONObjBuilder* builder) { bool foundKeys = false;@@ -53,7 +53,7 @@ index 36f2ae0254..2c164bcbf3 100644 stats.reserve(kDiskFieldCount); using string_split_iterator = boost::split_iterator<StringData::const_iterator>; -@@ -501,7 +501,7 @@ Status parseProcDiskStats(const std::vector<StringData>& disks, +@@ -501,7 +501,7 @@ Status parseProcDiskStats(const std::vec StringData stringValue((*partIt).begin(), (*partIt).end());@@ -62,6 +62,3 @@ index 36f2ae0254..2c164bcbf3 100644 if (!parseNumberFromString(stringValue, &value).isOK()) { value = 0; --- -2.14.1 -meta-oe/recipes-dbs/mongodb/mongodb/0001-mongo-Add-using-std-string.patch +20
-23@@ -18,22 +18,22 @@ Signed-off-by: Khem Raj <[email protected]> src/mongo/util/net/miniwebserver.cpp | 1 + 4 files changed, 5 insertions(+) -diff --git a/src/mongo/db/dbwebserver.cpp b/src/mongo/db/dbwebserver.cpp -index b202e0500b..0255613524 100644 ---- a/src/mongo/db/dbwebserver.cpp -+++ b/src/mongo/db/dbwebserver.cpp -@@ -67,6 +67,7 @@ namespace mongo { - using std::map; +Index: git/src/mongo/db/dbwebserver.cpp +=================================================================== +--- git.orig/src/mongo/db/dbwebserver.cpp ++++ git/src/mongo/db/dbwebserver.cpp +@@ -68,6 +68,7 @@ using std::map; + using std::string; using std::stringstream; using std::vector; +using std::string; using namespace html; -diff --git a/src/mongo/db/matcher/expression_leaf.cpp b/src/mongo/db/matcher/expression_leaf.cpp -index d562bff141..4d931985e2 100644 ---- a/src/mongo/db/matcher/expression_leaf.cpp -+++ b/src/mongo/db/matcher/expression_leaf.cpp +Index: git/src/mongo/db/matcher/expression_leaf.cpp +=================================================================== +--- git.orig/src/mongo/db/matcher/expression_leaf.cpp ++++ git/src/mongo/db/matcher/expression_leaf.cpp @@ -44,6 +44,8 @@ #include "mongo/stdx/memory.h" #include "mongo/util/mongoutils/str.h"@@ -43,10 +43,10 @@ index d562bff141..4d931985e2 100644 namespace mongo { Status LeafMatchExpression::setPath(StringData path) { -diff --git a/src/mongo/db/repl/master_slave.cpp b/src/mongo/db/repl/master_slave.cpp -index 05faad1259..ea25d7151b 100644 ---- a/src/mongo/db/repl/master_slave.cpp -+++ b/src/mongo/db/repl/master_slave.cpp +Index: git/src/mongo/db/repl/master_slave.cpp +=================================================================== +--- git.orig/src/mongo/db/repl/master_slave.cpp ++++ git/src/mongo/db/repl/master_slave.cpp @@ -78,6 +78,7 @@ using std::endl; using std::max; using std::min;@@ -55,18 +55,15 @@ index 05faad1259..ea25d7151b 100644 using std::stringstream; using std::unique_ptr; using std::vector; -diff --git a/src/mongo/util/net/miniwebserver.cpp b/src/mongo/util/net/miniwebserver.cpp -index 5f4165d42f..239720c349 100644 ---- a/src/mongo/util/net/miniwebserver.cpp -+++ b/src/mongo/util/net/miniwebserver.cpp -@@ -46,6 +46,7 @@ namespace mongo { - +Index: git/src/mongo/util/net/miniwebserver.cpp +=================================================================== +--- git.orig/src/mongo/util/net/miniwebserver.cpp ++++ git/src/mongo/util/net/miniwebserver.cpp +@@ -47,6 +47,7 @@ namespace mongo { using std::shared_ptr; + using std::string; using std::stringstream; +using std::string; using std::vector; MiniWebServer::MiniWebServer(const string& name, const string& ip, int port, ServiceContext* ctx) --- -2.13.3 -meta-oe/recipes-dbs/mongodb/mongodb/0002-d_state.cpp-Add-missing-dependenncy-on-local_shardin.patch +4
-7@@ -12,10 +12,10 @@ Signed-off-by: Khem Raj <[email protected]> src/mongo/s/SConscript | 1 + 1 file changed, 1 insertion(+) -diff --git a/src/mongo/s/SConscript b/src/mongo/s/SConscript -index 71720be517..51bd199127 100644 ---- a/src/mongo/s/SConscript -+++ b/src/mongo/s/SConscript +Index: git/src/mongo/s/SConscript +=================================================================== +--- git.orig/src/mongo/s/SConscript ++++ git/src/mongo/s/SConscript @@ -317,5 +317,6 @@ env.Library( "$BUILD_DIR/mongo/db/s/sharding", "$BUILD_DIR/mongo/executor/network_interface_factory",@@ -23,6 +23,3 @@ index 71720be517..51bd199127 100644 + "$BUILD_DIR/mongo/s/local_sharding_info", ], ) --- -2.13.3 -meta-oe/recipes-dbs/mongodb/mongodb_git.bb +0
-1@@ -11,7 +11,6 @@ PV = "3.4.13+git${SRCPV}" SRCREV = "fbdef2ccc53e0fcc9afb570063633d992b2aae42" SRC_URI = "git://github.com/mongodb/mongo.git;branch=v3.4 \ file://0001-Tell-scons-to-use-build-settings-from-environment-va.patch \ - file://0001-mongo-Add-using-std-string.patch \ file://0002-d_state.cpp-Add-missing-dependenncy-on-local_shardin.patch \ file://0001-Use-long-long-instead-of-int64_t.patch \ file://0001-Use-__GLIBC__-to-control-use-of-gnu_get_libc_version.patch \
Re: [meta-oe][v2][PATCH 2/2] mongodb: refresh patches and remove un-needed patch
In reply to Armin KusterQuoted 11 lines · Armin Kuster
[V2]
remove patch, changes upstreamSigned-off-by Armin Kuster <[email protected]>--- ...to-use-build-settings-from-environment-va.patch | 37 +++++++++---------- .../0001-Use-long-long-instead-of-int64_t.patch | 21 +++++------ .../mongodb/0001-mongo-Add-using-std-string.patch | 43 ++++++++++------------ ...-Add-missing-dependenncy-on-local_shardin.patch | 11 ++---- meta-oe/recipes-dbs/mongodb/mongodb_git.bb | 1 - 5 files changed, 50 insertions(+), 63 deletions(-)
Which patch is being removed?
Alex