summaryrefslogtreecommitdiffstats
path: root/mongo-c-driver-upstream.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-08-31 19:36:33 +0200
committerRemi Collet <fedora@famillecollet.com>2015-08-31 19:36:33 +0200
commit70d20f0775ad0088599a1140320243abc7d3e82e (patch)
tree718950861318729b7c7e8b0411411c65ba13a9e9 /mongo-c-driver-upstream.patch
parent1eee5c6bea51ca3d85a9b420b2f1527b9be07eae (diff)
mongo-c-driver: 1.2.0beta
Diffstat (limited to 'mongo-c-driver-upstream.patch')
-rw-r--r--mongo-c-driver-upstream.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/mongo-c-driver-upstream.patch b/mongo-c-driver-upstream.patch
new file mode 100644
index 0000000..421af38
--- /dev/null
+++ b/mongo-c-driver-upstream.patch
@@ -0,0 +1,22 @@
+From 5cd61e3170cfe81e4bc9be12d4b2d86e4e1ca53e Mon Sep 17 00:00:00 2001
+From: Remi Collet <fedora@famillecollet.com>
+Date: Mon, 31 Aug 2015 18:48:15 +0200
+Subject: [PATCH] allow driver to use mongoc-log-private
+
+---
+ src/mongoc/mongoc-log-private.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/mongoc/mongoc-log-private.h b/src/mongoc/mongoc-log-private.h
+index fa02960..49bf1cc 100644
+--- a/src/mongoc/mongoc-log-private.h
++++ b/src/mongoc/mongoc-log-private.h
+@@ -17,7 +17,7 @@
+ #ifndef MONGOC_LOG_PRIVATE_H
+ #define MONGOC_LOG_PRIVATE_H
+
+-#if !defined (MONGOC_INSIDE) && !defined (MONGOC_COMPILATION)
++#if !defined (MONGOC_INSIDE) && !defined (MONGOC_COMPILATION) && !defined (MONGOC_I_AM_A_DRIVER)
+ # error "Only <mongoc.h> can be included directly."
+ #endif
+