From 885a50c4a42f0b530d4f756d34862c89f2987556 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 2 Mar 2014 18:07:47 -0500 Subject: update pcr/hiredis --- pcr/hiredis/hiredis-fix-tests.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pcr/hiredis/hiredis-fix-tests.patch (limited to 'pcr/hiredis/hiredis-fix-tests.patch') diff --git a/pcr/hiredis/hiredis-fix-tests.patch b/pcr/hiredis/hiredis-fix-tests.patch new file mode 100644 index 000000000..51e49bf71 --- /dev/null +++ b/pcr/hiredis/hiredis-fix-tests.patch @@ -0,0 +1,11 @@ +diff -ru hiredis-0.11.0.orig/test.c hiredis-0.11.0/test.c +--- hiredis-0.11.0.orig/test.c 2012-08-28 02:55:52.000000000 -0400 ++++ hiredis-0.11.0/test.c 2014-03-02 17:49:24.396739767 -0500 +@@ -286,6 +286,7 @@ + c = redisConnect((char*)"idontexist.local", 6379); + test_cond(c->err == REDIS_ERR_OTHER && + (strcmp(c->errstr,"Name or service not known") == 0 || ++ strcmp(c->errstr,"Temporary failure in name resolution") == 0 || + strcmp(c->errstr,"Can't resolve: idontexist.local") == 0)); + redisFree(c); + -- cgit v1.2.3