diff options
| author | Kirill Ponomarev <krion@FreeBSD.org> | 2018-04-21 15:21:37 +0000 |
|---|---|---|
| committer | Kirill Ponomarev <krion@FreeBSD.org> | 2018-04-21 15:21:37 +0000 |
| commit | e32b6aadeffadd5b02c3b7c86bde7790f2c86a62 (patch) | |
| tree | 09fa621807159d637aaa92510c6be7a3cae15e07 /databases/mongodb36/files | |
| parent | Update vim to patchlevel 1740 (diff) | |
Update to version 3.6.4
PR: 227636
Submitted by: maintainer
Diffstat (limited to 'databases/mongodb36/files')
| -rw-r--r-- | databases/mongodb36/files/patch-src_mongo_util_time__support.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mongodb36/files/patch-src_mongo_util_time__support.cpp b/databases/mongodb36/files/patch-src_mongo_util_time__support.cpp new file mode 100644 index 000000000000..503d5074a6e0 --- /dev/null +++ b/databases/mongodb36/files/patch-src_mongo_util_time__support.cpp @@ -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}; |
