diff options
author | 2018-06-20 14:16:40 +0200 | |
---|---|---|
committer | 2018-06-22 23:35:14 +0200 | |
commit | 142c1673e9bbc9ca0eb8d2bc87bf26fc06431adf (patch) | |
tree | d12582a0bd7be7372bb08f6b5bb8ccfba40c86a9 /dev-libs/mongo-c-driver/files | |
parent | dev-libs/libbson: bump to 1.10.3 (diff) | |
download | gentoo-142c1673e9bbc9ca0eb8d2bc87bf26fc06431adf.tar.gz gentoo-142c1673e9bbc9ca0eb8d2bc87bf26fc06431adf.tar.bz2 gentoo-142c1673e9bbc9ca0eb8d2bc87bf26fc06431adf.zip |
dev-libs/mongo-c-driver: bump to 1.10.3
Closes: https://github.com/gentoo/gentoo/pull/8919
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-libs/mongo-c-driver/files')
-rw-r--r-- | dev-libs/mongo-c-driver/files/mongo-c-driver-1.10.3-enable-tests.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.10.3-enable-tests.patch b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.10.3-enable-tests.patch new file mode 100644 index 000000000000..af26b6953139 --- /dev/null +++ b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.10.3-enable-tests.patch @@ -0,0 +1,25 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2eeb6cb..aeaa23b 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -109,7 +109,6 @@ if (ENABLE_BSON STREQUAL SYSTEM) + message ("-- libbson include path \"${BSON_INCLUDE_DIRS}\"") + message ("-- libbson libraries \"${BSON_LIBRARIES}\"") + message ("-- disabling test-libmongoc since using system libbson") +- SET (ENABLE_TESTS OFF) + + if (ENABLE_STATIC MATCHES "ON|AUTO") + find_package (libbson-static-1.0 +diff --git a/src/libbson/tests/test-bson.c b/src/libbson/tests/test-bson.c +index 51514ed..accb251 100644 +--- a/src/libbson/tests/test-bson.c ++++ b/src/libbson/tests/test-bson.c +@@ -18,7 +18,7 @@ + #include <bson.h> + #include <bcon.h> + #define BSON_INSIDE +-#include <bson-private.h> ++#include "bson-private.h" + #undef BSON_INSIDE + #include <fcntl.h> + #include <time.h> |