1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/libcouchbase/fix_socktest.patch
Valery Kartel 5f531b41f2 community/libcouchbase: moved from testing
- would be need to build community/php7-couchbase
2017-03-22 06:28:06 +00:00

11 lines
342 B
Diff

--- 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