mongodb: unbreak

This commit is contained in:
Michael Gehring 2017-07-05 17:57:26 +00:00
parent e72f2a61a7
commit 52d5df639f
3 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,22 @@
--- src/mongo/crypto/crypto_openssl.cpp.orig 2017-06-08 16:11:03.000000000 +0000
+++ src/mongo/crypto/crypto_openssl.cpp 2017-07-05 17:52:36.991580944 +0000
@@ -41,7 +41,7 @@
#include <openssl/evp.h>
#include <openssl/hmac.h>
#include <openssl/sha.h>
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
namespace {
// Copies of OpenSSL after 1.1.0 define new EVP digest routines. We must
// polyfill used definitions to interact with older OpenSSL versions.
--- src/mongo/util/net/ssl_manager.cpp.orig 2017-06-08 16:11:03.000000000 +0000
+++ src/mongo/util/net/ssl_manager.cpp 2017-07-05 17:59:28.566556412 +0000
@@ -125,7 +125,7 @@
#endif // MONGO_CONFIG_NEEDS_ASN1_ANY_DEFINITIONS
// clang-format on
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
// Copies of OpenSSL after 1.1.0 define new functions for interaction with
// X509 structure. We must polyfill used definitions to interact with older
// OpenSSL versions.

View File

@ -0,0 +1,11 @@
--- SConstruct.orig 2017-07-05 17:34:21.000000000 +0000
+++ SConstruct 2017-07-05 17:35:17.126642925 +0000
@@ -2799,8 +2799,6 @@
if use_system_version_of_library("boost"):
if not conf.CheckCXXHeader( "boost/filesystem/operations.hpp" ):
myenv.ConfError("can't find boost headers")
- if not conf.CheckBoostMinVersion():
- myenv.ConfError("system's version of boost is too old. version 1.49 or better required")
# Note that on Windows with using-system-boost builds, the following
# FindSysLibDep calls do nothing useful (but nothing problematic either)

View File

@ -19,7 +19,6 @@ checksum=84806e5496a1a0a8fe9a59d6eab0acfab0e68476437e94e2772f898677bb21f0
# build flags broken.
nopie=yes
only_for_archs="aarch64 x86_64 aarch64-musl x86_64-musl"
broken="https://build.voidlinux.eu/builders/x86_64_builder/builds/3157/steps/shell_3/logs/stdio"
make_dirs="
/var/lib/mongodb 0700 mongodb mongodb