diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-09-16 09:46:13 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-09-16 09:46:13 +0000 |
commit | 6bc21a348945fc926fa06fce0695b6045158303f (patch) | |
tree | a4cd4ccf443df4c1968d82972b31f296d133e19a /databases/hiredis | |
parent | 39ced03cc1d1a7517467fd89bf9ccbd69675c901 (diff) |
Notes
Diffstat (limited to 'databases/hiredis')
-rw-r--r-- | databases/hiredis/Makefile | 1 | ||||
-rw-r--r-- | databases/hiredis/files/patch-hiredis.c | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/databases/hiredis/Makefile b/databases/hiredis/Makefile index f7567b541599..ba64b58b4198 100644 --- a/databases/hiredis/Makefile +++ b/databases/hiredis/Makefile @@ -3,6 +3,7 @@ PORTNAME= hiredis PORTVERSION= 0.13.2 +PORTREVISION= 1 DISTVERSIONPREFIX=v CATEGORIES= databases diff --git a/databases/hiredis/files/patch-hiredis.c b/databases/hiredis/files/patch-hiredis.c new file mode 100644 index 000000000000..6f5759dd65e0 --- /dev/null +++ b/databases/hiredis/files/patch-hiredis.c @@ -0,0 +1,10 @@ +--- hiredis.c.orig 2015-08-25 12:16:20 UTC ++++ hiredis.c +@@ -808,7 +808,6 @@ int redisBufferRead(redisContext *c) { + return REDIS_ERR; + } + } else if (nread == 0) { +- c->flags &= ~REDIS_CONNECTED; + __redisSetError(c,REDIS_ERR_EOF,"Server closed the connection"); + return REDIS_ERR; + } else { |