diff options
author | Daniel Engberg <diizzy@FreeBSD.org> | 2022-08-15 22:23:37 +0200 |
---|---|---|
committer | Daniel Engberg <diizzy@FreeBSD.org> | 2022-08-15 22:27:40 +0200 |
commit | cdca8109d6d09b7f7b8ddcba55f9e1eb09332161 (patch) | |
tree | a988210db59076c22a7ad7748f2be91f5006ba58 /databases/mongodb50/files/patch-boost-179-compat | |
parent | net/msoak: New port (diff) |
databases/mongodb50: Use more external libraries
Make use of following libraries in tree:
devel/boost-libs
textproc/snowballstemmer
devel/libunwind
devel/yaml-cpp
archivers/zstd
While at it remove mtune option on amd64 as it potentially overrides
CPUTYPE set by ports framework
References:
[1] https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-db/mongodb/files/mongodb-4.4.1-boost.patch
https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch
PR: 265210
Reviewed by: Ronald Klop <ronald-lists@klop.ws> (maintainer)
Diffstat (limited to 'databases/mongodb50/files/patch-boost-179-compat')
-rw-r--r-- | databases/mongodb50/files/patch-boost-179-compat | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/databases/mongodb50/files/patch-boost-179-compat b/databases/mongodb50/files/patch-boost-179-compat new file mode 100644 index 000000000000..8135db48dd3c --- /dev/null +++ b/databases/mongodb50/files/patch-boost-179-compat @@ -0,0 +1,70 @@ +--- src/mongo/db/auth/security_key_test.cpp ++++ src/mongo/db/auth/security_key_test.cpp +@@ -30,6 +30,7 @@ + #include "mongo/platform/basic.h" + + #include <boost/filesystem.hpp> ++#include <boost/filesystem/fstream.hpp> + + #include "mongo/base/string_data.h" + #include "mongo/db/auth/authorization_manager.h" +--- src/mongo/db/storage/storage_repair_observer.cpp ++++ src/mongo/db/storage/storage_repair_observer.cpp +@@ -41,6 +41,7 @@ + #include <sys/types.h> + #endif + ++#include <boost/filesystem/fstream.hpp> + #include <boost/filesystem/path.hpp> + + #include "mongo/db/dbhelpers.h" +--- src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp ++++ src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp +@@ -34,6 +34,7 @@ + #include "mongo/db/storage/kv/kv_engine_test_harness.h" + + #include <boost/filesystem.hpp> ++#include <boost/filesystem/fstream.hpp> + #include <boost/filesystem/path.hpp> + #include <memory> + +--- src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp ++++ src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp +@@ -36,6 +36,7 @@ + #include <limits> + + #include <boost/filesystem.hpp> ++#include <boost/filesystem/fstream.hpp> + #include <boost/filesystem/path.hpp> + + #include "mongo/base/simple_string_data_comparator.h" +--- src/mongo/shell/shell_utils_extended.cpp ++++ src/mongo/shell/shell_utils_extended.cpp +@@ -37,6 +37,7 @@ + #endif + + #include <boost/filesystem.hpp> ++#include <boost/filesystem/fstream.hpp> + #include <fmt/format.h> + #include <fstream> + +--- src/mongo/util/stacktrace_threads.cpp ++++ src/mongo/util/stacktrace_threads.cpp +@@ -36,6 +36,7 @@ + #include <array> + #include <atomic> + #include <boost/filesystem.hpp> ++#include <boost/filesystem/fstream.hpp> + #include <cstdint> + #include <cstdlib> + #include <dirent.h> +--- src/mongo/util/processinfo_linux.cpp ++++ src/mongo/util/processinfo_linux.cpp +@@ -36,6 +36,7 @@ + #include <iostream> + #include <malloc.h> + #include <pcrecpp.h> ++#include <fstream> + #include <sched.h> + #include <stdio.h> + #include <sys/mman.h> |