diff options
author | Marc Vertes <mvertes@free.fr> | 2018-07-19 02:06:54 +0200 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-07-20 09:12:47 +0000 |
commit | e7fe48c47dd7a60d756cc22e8f05f8b965c4befe (patch) | |
tree | 1f2caf7543674036b18ca869d7ea5bf414ff0698 /community/mongodb/fix-libressl.patch | |
parent | ff883f45ffe12a959eed9945ebe57ff969754c40 (diff) | |
download | aports-e7fe48c47dd7a60d756cc22e8f05f8b965c4befe.tar.bz2 aports-e7fe48c47dd7a60d756cc22e8f05f8b965c4befe.tar.xz |
community/mongodb: upgrade to 4.0.0
Diffstat (limited to 'community/mongodb/fix-libressl.patch')
-rw-r--r-- | community/mongodb/fix-libressl.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/community/mongodb/fix-libressl.patch b/community/mongodb/fix-libressl.patch new file mode 100644 index 0000000000..983238b856 --- /dev/null +++ b/community/mongodb/fix-libressl.patch @@ -0,0 +1,22 @@ +--- mongodb-src-r4.0.0/src/mongo/util/net/ssl_manager_openssl.cpp.orig ++++ mongodb-src-r4.0.0/src/mongo/util/net/ssl_manager_openssl.cpp +@@ -169,7 +169,7 @@ + #endif // MONGO_CONFIG_NEEDS_ASN1_ANY_DEFINITIONS + // clang-format on + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L + // 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. +--- mongodb-src-r4.0.0/src/mongo/crypto/sha_block_openssl.cpp.orig ++++ mongodb-src-r4.0.0/src/mongo/crypto/sha_block_openssl.cpp +@@ -44,7 +44,7 @@ + #include <openssl/hmac.h> + #include <openssl/sha.h> + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L + namespace { + // Copies of OpenSSL after 1.1.0 define new EVP digest routines. We must + // polyfill used definitions to interact with older OpenSSL versions. |