diff options
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; |