databases/mongodb40: Update to 4.0.18
PR: 245976 Submitted by: Ronald Klop Approved by: Andrew Shevchuk (maintainer)
This commit is contained in:
parent
632db3c807
commit
4b560277fc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=539367
@ -2,8 +2,7 @@
|
||||
|
||||
PORTNAME= mongodb
|
||||
DISTVERSIONPREFIX= r
|
||||
DISTVERSION= 4.0.12
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 4.0.18
|
||||
CATEGORIES= databases net
|
||||
MASTER_SITES= https://fastdl.mongodb.org/src/ \
|
||||
http://fastdl.mongodb.org/src/ \
|
||||
@ -14,9 +13,10 @@ DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${DISTVERSION}
|
||||
MAINTAINER= dev.ashevchuk@gmail.com
|
||||
COMMENT= Distributed document-oriented "NoSQL" database
|
||||
|
||||
# mongodb is AGPLv3, C++ driver is APACHE20
|
||||
LICENSE= AGPLv3 APACHE20
|
||||
LICENSE_COMB= multi
|
||||
LICENSE= SSPLv1
|
||||
LICENSE_NAME= Server Side Public License Version 1
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE-Community.txt
|
||||
LICENSE_PERMS= auto-accept
|
||||
|
||||
ONLY_FOR_ARCHS= aarch64 amd64
|
||||
ONLY_FOR_ARCHS_REASON= "Only supported on amd64 and aarch64 (i386 deprecated in v3)"
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1570817575
|
||||
SHA256 (mongodb-src-r4.0.12.tar.gz) = 2132def2478c7d45b028a9b79db346a19f9c56f456b52c0ff243982c89c20dc9
|
||||
SIZE (mongodb-src-r4.0.12.tar.gz) = 49937644
|
||||
TIMESTAMP = 1591540345
|
||||
SHA256 (mongodb-src-r4.0.18.tar.gz) = c2b1ba40b2f132cce5fd0cdee26b5176aceeac2922b238874241d33f9920b50f
|
||||
SIZE (mongodb-src-r4.0.18.tar.gz) = 50124925
|
||||
|
@ -0,0 +1,14 @@
|
||||
# based on: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245976#c12
|
||||
# https://jira.mongodb.org/browse/SERVER-44025
|
||||
# https://github.com/mongodb/mongo/commit/e484c9af6b4ae4a1d22c905e252ad3ad13f30bfc
|
||||
--- src/mongo/base/error_codes.tpl.h.orig 2020-06-07 14:38:05 UTC
|
||||
+++ src/mongo/base/error_codes.tpl.h
|
||||
@@ -127,7 +127,7 @@ template <int32_t code>
|
||||
constexpr bool isNamedCode = false;
|
||||
//#for $ec in $codes
|
||||
template <>
|
||||
-constexpr bool isNamedCode<ErrorCodes::$ec.name> = true;
|
||||
+constexpr inline bool isNamedCode<ErrorCodes::$ec.name> = true;
|
||||
//#end for
|
||||
|
||||
MONGO_COMPILER_NORETURN void throwExceptionForStatus(const Status& status);
|
Loading…
Reference in New Issue
Block a user