diff options
author | Tomas Mozes <hydrapolic@gmail.com> | 2018-06-26 16:31:33 +0200 |
---|---|---|
committer | Ultrabug <ultrabug@gentoo.org> | 2018-08-01 21:23:18 +0200 |
commit | c862745e3e07663bd0fdc2d5f811bc25b27537ad (patch) | |
tree | cdacc60f5fcea50ae7f23e512be5916112f1309e /dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch | |
parent | dev-libs/libbson: bump to 1.11.0 (diff) | |
download | gentoo-c862745e3e07663bd0fdc2d5f811bc25b27537ad.tar.gz gentoo-c862745e3e07663bd0fdc2d5f811bc25b27537ad.tar.bz2 gentoo-c862745e3e07663bd0fdc2d5f811bc25b27537ad.zip |
dev-libs/mongo-c-driver: bump to 1.11.0
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch')
-rw-r--r-- | dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch new file mode 100644 index 000000000000..67fafafc93b2 --- /dev/null +++ b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch @@ -0,0 +1,25 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 860e4ea..7d646b1 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -110,7 +110,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> |