From d69bb41b47e2e9811d27afa102a36a3c9e2392fe Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 12 Jul 2017 12:23:37 +0200 Subject: fix new symbols visibility --- libcouchbase-pr27.patch | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 libcouchbase-pr27.patch (limited to 'libcouchbase-pr27.patch') diff --git a/libcouchbase-pr27.patch b/libcouchbase-pr27.patch new file mode 100644 index 0000000..1f13164 --- /dev/null +++ b/libcouchbase-pr27.patch @@ -0,0 +1,50 @@ +From aa972430720163a8d81babdfae08b5bab5d139c3 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Wed, 12 Jul 2017 12:15:36 +0200 +Subject: [PATCH] CCBC-803: make new functions public + +--- + include/libcouchbase/couchbase.h | 2 ++ + src/handler.cc | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/include/libcouchbase/couchbase.h b/include/libcouchbase/couchbase.h +index a42f9a04..35f87607 100644 +--- a/include/libcouchbase/couchbase.h ++++ b/include/libcouchbase/couchbase.h +@@ -3703,6 +3703,7 @@ void lcb_histogram_print(lcb_HISTOGRAM* hg, FILE* stream); + * + * @return the pointer to string or NULL if context wasn't specified. + */ ++LIBCOUCHBASE_API + const char * + lcb_resp_get_error_context(int cbtype, const lcb_RESPBASE *rb); + +@@ -3716,6 +3717,7 @@ lcb_resp_get_error_context(int cbtype, const lcb_RESPBASE *rb); + * + * @return the pointer to string or NULL if ref wasn't specified. + */ ++LIBCOUCHBASE_API + const char * + lcb_resp_get_error_ref(int cbtype, const lcb_RESPBASE *rb); + +diff --git a/src/handler.cc b/src/handler.cc +index b909dea0..68ee2d16 100644 +--- a/src/handler.cc ++++ b/src/handler.cc +@@ -1018,6 +1018,7 @@ lcb_resp_get_mutation_token(int cbtype, const lcb_RESPBASE *rb) + X(UNLOCK) \ + + ++LIBCOUCHBASE_API + const char * + lcb_resp_get_error_context(int cbtype, const lcb_RESPBASE *rb) + { +@@ -1031,6 +1032,7 @@ lcb_resp_get_error_context(int cbtype, const lcb_RESPBASE *rb) + return NULL; + } + ++LIBCOUCHBASE_API + const char * + lcb_resp_get_error_ref(int cbtype, const lcb_RESPBASE *rb) + { -- cgit