pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mongodb mongodb: fix build w/ boost>=1.66. F...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8f98916b82c
branches:  trunk
changeset: 312252:a8f98916b82c
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Aug 29 14:07:30 2018 +0000

description:
mongodb: fix build w/ boost>=1.66. From upstream.

diffstat:

 databases/mongodb/distinfo                                           |   3 +-
 databases/mongodb/patches/patch-src_mongo_db_repl_oplog__fetcher.cpp |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 76c06c091cb3 -r a8f98916b82c databases/mongodb/distinfo
--- a/databases/mongodb/distinfo        Wed Aug 29 13:27:40 2018 +0000
+++ b/databases/mongodb/distinfo        Wed Aug 29 14:07:30 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2017/10/08 22:17:06 tnn Exp $
+$NetBSD: distinfo,v 1.22 2018/08/29 14:07:30 tnn Exp $
 
 SHA1 (mongodb-src-r3.4.4.tar.gz) = 6f9f2d8a3c1c2f4089fd03f8be0b86ff0431d955
 RMD160 (mongodb-src-r3.4.4.tar.gz) = 2a65f380204a92762ceea2be35dbe2c671e106f6
@@ -12,6 +12,7 @@
 SHA1 (patch-src_mongo_db_matcher_expression__leaf.cpp) = 52064034fabb5de63eccf87ddd140303c54f0312
 SHA1 (patch-src_mongo_db_repl_isself.c) = 82321c918b91ce1a68ce79c14589126aca6baf96
 SHA1 (patch-src_mongo_db_repl_master__slave.cpp) = 2f37f0819a2b2743df01f6b6ab0b3013b3b7d726
+SHA1 (patch-src_mongo_db_repl_oplog__fetcher.cpp) = da6d8280c0579fe49e5f4aecd7cb979c8fd3489e
 SHA1 (patch-src_mongo_installer_msi_SConscript) = 78424fa10f90470dd941b900ef8fd131d28f6e65
 SHA1 (patch-src_mongo_platform_random.cpp) = 59c31e55fc2dc5a2b82b8f16dacf8736d8354cdb
 SHA1 (patch-src_mongo_platform_stack__locator__dragonfly.cpp) = fb885c491e4de1cfbc2875620d854af726e5b45f
diff -r 76c06c091cb3 -r a8f98916b82c databases/mongodb/patches/patch-src_mongo_db_repl_oplog__fetcher.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mongodb/patches/patch-src_mongo_db_repl_oplog__fetcher.cpp      Wed Aug 29 14:07:30 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_mongo_db_repl_oplog__fetcher.cpp,v 1.1 2018/08/29 14:07:30 tnn Exp $
+
+Fix build w/ boost >= 1.66
+
+--- src/mongo/db/repl/oplog_fetcher.cpp.orig   2018-08-29 14:02:00.126096548 +0000
++++ src/mongo/db/repl/oplog_fetcher.cpp
+@@ -265,7 +265,7 @@ StatusWith<boost::optional<rpc::OplogQue
+         if (!metadataResult.isOK()) {
+             return metadataResult.getStatus();
+         }
+-        oqMetadata = boost::make_optional<rpc::OplogQueryMetadata>(metadataResult.getValue());
++        oqMetadata = boost::make_optional(metadataResult.getValue());
+     }
+     return oqMetadata;
+ }



Home | Main Index | Thread Index | Old Index