aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libcouchbase/fix_socktest.patch
diff options
context:
space:
mode:
authorNathan Johnson <nathan@nathanjohnson.info>2016-02-29 05:35:10 -0600
committerTimo Teräs <timo.teras@iki.fi>2016-03-08 06:42:36 +0000
commitc494a30d4573178a23f29cf0c0f13e57ea75cf74 (patch)
tree11c7c8d51adafdc94f05d8461feff5e81249fe74 /testing/libcouchbase/fix_socktest.patch
parent81f000000cecc92c05bfeb4cb278e1c543f11a69 (diff)
downloadaports-c494a30d4573178a23f29cf0c0f13e57ea75cf74.tar.bz2
aports-c494a30d4573178a23f29cf0c0f13e57ea75cf74.tar.xz
testing/libcouchbase: update for docker image
Added small patch to make unit tests complete under docker image. Relaxed makedepends to remove openjdk8-jre-base, skip running expensive couchbase mock tests (which required java in the first place). Bumped revision number.
Diffstat (limited to 'testing/libcouchbase/fix_socktest.patch')
-rw-r--r--testing/libcouchbase/fix_socktest.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/libcouchbase/fix_socktest.patch b/testing/libcouchbase/fix_socktest.patch
new file mode 100644
index 0000000000..2ee7cc68b0
--- /dev/null
+++ b/testing/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