summaryrefslogtreecommitdiff
path: root/devel/mongo-cxx-driver/files
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
commit26b4c8f71f91d22e081b27814782686edde0c90a (patch)
tree1c321c39372c25d8634e75b5c8e08edc676b296d /devel/mongo-cxx-driver/files
parentNew port: math/py-optuna: A hyperparameter optimization framework (diff)
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed With hat: portmgr
Diffstat (limited to 'devel/mongo-cxx-driver/files')
-rw-r--r--devel/mongo-cxx-driver/files/patch-SConstruct33
-rw-r--r--devel/mongo-cxx-driver/files/patch-boost-1.6726
2 files changed, 59 insertions, 0 deletions
diff --git a/devel/mongo-cxx-driver/files/patch-SConstruct b/devel/mongo-cxx-driver/files/patch-SConstruct
new file mode 100644
index 000000000000..6b694d2724e5
--- /dev/null
+++ b/devel/mongo-cxx-driver/files/patch-SConstruct
@@ -0,0 +1,33 @@
+--- SConstruct.orig 2015-08-18 15:46:59 UTC
++++ SConstruct
+@@ -354,6 +354,30 @@ env_vars.Add('SHLINKFLAGS',
+ help='Sets flags for the linker when building shared libraries',
+ converter=variable_shlex_converter)
+
++env_vars.Add('CXX',
++ help='Sets path to the C++ compiler',
++ converter=variable_shlex_converter)
++
++env_vars.Add('CC',
++ help='Sets path to the C compiler',
++ converter=variable_shlex_converter)
++
++env_vars.Add('PREFIX',
++ help='Sets PREFIX path',
++ converter=variable_shlex_converter)
++
++env_vars.Add('PKGCONFIGDIR',
++ help='Sets PKGCONFIGDIR path',
++ converter=variable_shlex_converter)
++
++env_vars.Add('destdir',
++ help='Sets destdir path',
++ converter=variable_shlex_converter)
++
++env_vars.Add('DESTDIR',
++ help='Sets DESTDIR path',
++ converter=variable_shlex_converter)
++
+ # don't run configure if user calls --help
+ if GetOption('help'):
+ Return()
diff --git a/devel/mongo-cxx-driver/files/patch-boost-1.67 b/devel/mongo-cxx-driver/files/patch-boost-1.67
new file mode 100644
index 000000000000..bdfbf452653f
--- /dev/null
+++ b/devel/mongo-cxx-driver/files/patch-boost-1.67
@@ -0,0 +1,26 @@
+src/mongo/client/command_writer.cpp:68:78: error: no member named 'next' in namespace 'boost'
+ const std::vector<WriteOperation*>::const_iterator next = boost::next(batch_iter);
+ ~~~~~~~^
+src/mongo/util/net/message_port.h:34:38: error: expected class name
+class AbstractMessagingPort : boost::noncopyable {
+ ^
+
+--- src/mongo/util/net/message_port.h.orig 2016-06-21 19:15:24 UTC
++++ src/mongo/util/net/message_port.h
+@@ -20,8 +20,15 @@
+ #include "mongo/config.h"
+
+ #include <boost/shared_ptr.hpp>
+-#include <boost/utility.hpp>
+ #include <vector>
++
++#include <boost/version.hpp>
++#if BOOST_VERSION < 106700
++#include <boost/utility.hpp>
++#else
++#include <boost/next_prior.hpp>
++#include <boost/noncopyable.hpp>
++#endif
+
+ #include "mongo/util/net/message.h"
+ #include "mongo/util/net/sock.h"