aboutsummaryrefslogtreecommitdiffstats
path: root/main/hiredis/musl-test.patch
diff options
context:
space:
mode:
authorEivind Uggedal <eu@eju.no>2019-05-12 18:23:30 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-28 08:26:24 +0000
commitd6d486daf1ff324190b53e91943c8ed04862e722 (patch)
tree51ee6cdbfc50fab1275cd090befc8f4d554ff74f /main/hiredis/musl-test.patch
parent91dc6d2e3a17625131ca1ed46eadba52d4224cb1 (diff)
downloadaports-d6d486daf1ff324190b53e91943c8ed04862e722.tar.gz
aports-d6d486daf1ff324190b53e91943c8ed04862e722.tar.bz2
aports-d6d486daf1ff324190b53e91943c8ed04862e722.tar.xz
main/hiredis: add check support, revbump
Also make license SPDX compliant.
Diffstat (limited to 'main/hiredis/musl-test.patch')
-rw-r--r--main/hiredis/musl-test.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/hiredis/musl-test.patch b/main/hiredis/musl-test.patch
new file mode 100644
index 0000000000..37a7001396
--- /dev/null
+++ b/main/hiredis/musl-test.patch
@@ -0,0 +1,10 @@
+--- hiredis-0.14.0/test.c
++++ hiredis-0.14.0_p/test.c
+@@ -439,6 +439,7 @@
+ c = redisConnect((char*)"idontexist.test", 6379);
+ test_cond(c->err == REDIS_ERR_OTHER &&
+ (strcmp(c->errstr,"Name or service not known") == 0 ||
++ strcmp(c->errstr,"Name does not resolve") == 0 ||
+ strcmp(c->errstr,"Can't resolve: idontexist.test") == 0 ||
+ strcmp(c->errstr,"nodename nor servname provided, or not known") == 0 ||
+ strcmp(c->errstr,"No address associated with hostname") == 0 ||