aboutsummaryrefslogtreecommitdiffstats
path: root/community/libcouchbase/fix_socktest.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/libcouchbase/fix_socktest.patch')
-rw-r--r--community/libcouchbase/fix_socktest.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/libcouchbase/fix_socktest.patch b/community/libcouchbase/fix_socktest.patch
new file mode 100644
index 0000000000..2ee7cc68b0
--- /dev/null
+++ b/community/libcouchbase/fix_socktest.patch
@@ -0,0 +1,11 @@
+--- libcouchbase-2.5.6/tests/socktests/t_basic.cc
++++ libcouchbase-2.5.6-2/tests/socktests/t_basic.cc
+@@ -48,7 +49,7 @@
+
+ static bool isRefused(lcbio_OSERR err)
+ {
+- if (err == ECONNREFUSED || err == ECONNABORTED) {
++ if (err == ECONNREFUSED || err == ECONNABORTED || err == EAFNOSUPPORT) {
+ return true;
+ }
+ #ifdef _WIN32