Update to version 3.6.4

PR:		227636
Submitted by:	maintainer
This commit is contained in:
Kirill Ponomarev 2018-04-21 15:21:37 +00:00
parent b2da15584f
commit e32b6aadef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=467897
3 changed files with 24 additions and 5 deletions

View file

@ -2,8 +2,7 @@
PORTNAME= mongodb
DISTVERSIONPREFIX= r
DISTVERSION= 3.6.3
PORTREVISION= 1
DISTVERSION= 3.6.4
CATEGORIES= databases net
MASTER_SITES= https://fastdl.mongodb.org/src/ \
http://fastdl.mongodb.org/src/ \
@ -59,6 +58,15 @@ SASL_MAKE_ARGS= --use-sasl-client
SSL_USES= ssl
SSL_MAKE_ARGS= --ssl
.include <bsd.port.options.mk>
.if ${OPSYS} != FreeBSD || ${OSVERSION} < 1101515 || \
${OSVERSION} >= 1200000 && ${OSVERSION} < 1200057
SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment "
.else
SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS=""
.endif
ALL_TARGET= core
PORTSCOUT= limitw:1,even

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1519545671
SHA256 (mongodb-src-r3.6.3.tar.gz) = df2d5c05c569ca93eacf88b68e0feb3ff52ffbfc8ccd8736ff20d86850db207c
SIZE (mongodb-src-r3.6.3.tar.gz) = 40093607
TIMESTAMP = 1523955505
SHA256 (mongodb-src-r3.6.4.tar.gz) = 1a9697c3ad2f5545b5160d5e32d5f3c0f6f0a3371ceb9fa85961aec513acd7ac
SIZE (mongodb-src-r3.6.4.tar.gz) = 40159916

View file

@ -0,0 +1,11 @@
--- src/mongo/util/time_support.cpp.orig 2018-04-19 11:21:07 UTC
+++ src/mongo/util/time_support.cpp
@@ -933,7 +933,7 @@ private:
// Find minimum timer resolution of OS
Nanoseconds getMinimumTimerResolution() {
Nanoseconds minTimerResolution;
-#if defined(__linux__)
+#if defined(__linux__) || defined(__FreeBSD__)
struct timespec tp;
clock_getres(CLOCK_REALTIME, &tp);
minTimerResolution = Nanoseconds{tp.tv_nsec};