aboutsummaryrefslogtreecommitdiff
path: root/libraries/mongo-cxx-driver
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-29 19:49:40 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-30 06:55:50 +0700
commit39f4d98d4df6ec61df71d57c19c6a9ce68b59885 (patch)
treef7bf056827f144d39c3ff0ca2624423da1c95836 /libraries/mongo-cxx-driver
parent505267dac8cfd2710863a98143169ddf36ea21c8 (diff)
libraries/mongo-cxx-driver: FIx building against the new libmongoc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/mongo-cxx-driver')
-rw-r--r--libraries/mongo-cxx-driver/mongo-cxx-driver.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/mongo-cxx-driver/mongo-cxx-driver.SlackBuild b/libraries/mongo-cxx-driver/mongo-cxx-driver.SlackBuild
index 9243f42ec13e7..f3c5e399d2594 100644
--- a/libraries/mongo-cxx-driver/mongo-cxx-driver.SlackBuild
+++ b/libraries/mongo-cxx-driver/mongo-cxx-driver.SlackBuild
@@ -80,6 +80,8 @@ find -L . \
# Upstream doesn't support LIB_SUFFIX
patch -p1 < $CWD/mongo-cxx-driver_libdir-fixups.patch
+sed -i '/#include <array>/a #include <cassert>' src/mongocxx/test_util/mock.hh
+
mkdir -p build
cd build
cmake \