diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2008-11-17 09:22:58 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2008-11-17 09:22:58 +0000 |
commit | 579208a09165aaa1aa093fc14913c79c6c41500f (patch) | |
tree | 73ff105abb64577c15306b34629b773fe8bf05d7 /databases/libmemcached | |
parent | 10f8471df02b577fc9b285a6de3c3259c3df4337 (diff) | |
download | ports-579208a09165aaa1aa093fc14913c79c6c41500f.tar.gz ports-579208a09165aaa1aa093fc14913c79c6c41500f.zip |
Notes
Diffstat (limited to 'databases/libmemcached')
-rw-r--r-- | databases/libmemcached/Makefile | 2 | ||||
-rw-r--r-- | databases/libmemcached/files/patch-libmemcached__memcached_io.c | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/databases/libmemcached/Makefile b/databases/libmemcached/Makefile index b921ac42f28c..7f0e70adc235 100644 --- a/databases/libmemcached/Makefile +++ b/databases/libmemcached/Makefile @@ -7,7 +7,7 @@ PORTNAME= libmemcached PORTVERSION= 0.23 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= http://download.tangent.org/ diff --git a/databases/libmemcached/files/patch-libmemcached__memcached_io.c b/databases/libmemcached/files/patch-libmemcached__memcached_io.c new file mode 100644 index 000000000000..328abfc5f9a2 --- /dev/null +++ b/databases/libmemcached/files/patch-libmemcached__memcached_io.c @@ -0,0 +1,12 @@ +--- libmemcached/memcached_io.c.orig 2008-11-17 01:19:40.000000000 -0800 ++++ libmemcached/memcached_io.c 2008-11-17 01:20:19.000000000 -0800 +@@ -135,6 +135,9 @@ + + difference= (length > ptr->read_buffer_length) ? ptr->read_buffer_length : length; + ++ if (strlen (ptr->read_ptr) == 0) ++ break; ++ + memcpy(buffer_ptr, ptr->read_ptr, difference); + length -= difference; + ptr->read_ptr+= difference; |