diff --git a/srcpkgs/mongodb/patches/libressl.patch b/srcpkgs/mongodb/patches/libressl.patch new file mode 100644 index 00000000000..7bfbd00c4bf --- /dev/null +++ b/srcpkgs/mongodb/patches/libressl.patch @@ -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 + #include + #include +-#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. diff --git a/srcpkgs/mongodb/patches/no-boost-min-version-check.patch b/srcpkgs/mongodb/patches/no-boost-min-version-check.patch new file mode 100644 index 00000000000..f1af44e5430 --- /dev/null +++ b/srcpkgs/mongodb/patches/no-boost-min-version-check.patch @@ -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) diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template index b8d849970bf..61a9f1d411a 100644 --- a/srcpkgs/mongodb/template +++ b/srcpkgs/mongodb/template @@ -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