diff options
-rw-r--r-- | databases/memcached/Makefile | 4 | ||||
-rw-r--r-- | databases/memcached/files/patch-memcached.c | 12 |
2 files changed, 14 insertions, 2 deletions
diff --git a/databases/memcached/Makefile b/databases/memcached/Makefile index 88b0064a6595..6e980ac15097 100644 --- a/databases/memcached/Makefile +++ b/databases/memcached/Makefile @@ -7,7 +7,7 @@ PORTNAME= memcached PORTVERSION= 1.1.12 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases MASTER_SITES= http://www.danga.com/memcached/dist/ \ ${MASTER_SITE_GENTOO} @@ -16,7 +16,7 @@ MASTER_SITE_SUBDIR= distfiles MAINTAINER= seanc@FreeBSD.org COMMENT= High-performance distributed memory object cache system -LIB_DEPENDS= event-1.2.1:${PORTSDIR}/devel/libevent +LIB_DEPENDS= event-1.1a:${PORTSDIR}/devel/libevent USE_RC_SUBR= memcached GNU_CONFIGURE= YES diff --git a/databases/memcached/files/patch-memcached.c b/databases/memcached/files/patch-memcached.c new file mode 100644 index 000000000000..92e71ec748ac --- /dev/null +++ b/databases/memcached/files/patch-memcached.c @@ -0,0 +1,12 @@ +--- memcached.c.orig Mon Jul 3 13:04:31 2006 ++++ memcached.c Mon Jul 3 13:04:40 2006 +@@ -1146,9 +1146,7 @@ + setsockopt(sfd, SOL_SOCKET, SO_REUSEADDR, &flags, sizeof(flags)); + setsockopt(sfd, SOL_SOCKET, SO_KEEPALIVE, &flags, sizeof(flags)); + setsockopt(sfd, SOL_SOCKET, SO_LINGER, &ling, sizeof(ling)); +-#if !defined(TCP_NOPUSH) + setsockopt(sfd, IPPROTO_TCP, TCP_NODELAY, &flags, sizeof(flags)); +-#endif + + /* + * the memset call clears nonstandard fields in some impementations |