aboutsummaryrefslogtreecommitdiffstats
path: root/community/libcouchbase/fix_socktest.patch
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-03-22 01:35:57 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-03-22 06:28:06 +0000
commit5f531b41f25694a64b90938f378d592b150dcd37 (patch)
tree4b180ca849432e5b195ea70b98d93f9b69faea0b /community/libcouchbase/fix_socktest.patch
parent5362b4e79d99ab947e430d898e0ed0b7199385bd (diff)
downloadaports-5f531b41f25694a64b90938f378d592b150dcd37.tar.bz2
aports-5f531b41f25694a64b90938f378d592b150dcd37.tar.xz
community/libcouchbase: moved from testing
- would be need to build community/php7-couchbase
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