# patch-deps-hiredis-net.c | 12 ++++++++++++ # 1 file changed, 12 insertions(+) # svn status A files/patch-deps-hiredis-net.c Index: files/patch-deps-hiredis-net.c =================================================================== --- files/patch-deps-hiredis-net.c (revision 0) +++ files/patch-deps-hiredis-net.c (working copy) @@ -0,0 +1,12 @@ +--- deps/hiredis/net.c.orig 2014-09-12 09:16:58.000000000 -0500 ++++ deps/hiredis/net.c 2014-09-16 19:45:20.339820576 -0500 +@@ -138,7 +138,8 @@ int redisKeepAlive(redisContext *c, int + return REDIS_ERR; + } + #else +-#ifndef __sun ++#if !defined(__sun) && defined(TCP_KEEPIDLE) && defined(TCP_KEEPINTVL) && \ ++ defined(TCP_KEEPCNT) + val = interval; + if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &val, sizeof(val)) < 0) { + __redisSetError(c,REDIS_ERR_OTHER,strerror(errno)); Property changes on: files/patch-deps-hiredis-net.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property