aboutsummaryrefslogtreecommitdiff
path: root/databases/libmemcached
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-11-17 09:22:58 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-11-17 09:22:58 +0000
commit579208a09165aaa1aa093fc14913c79c6c41500f (patch)
tree73ff105abb64577c15306b34629b773fe8bf05d7 /databases/libmemcached
parent10f8471df02b577fc9b285a6de3c3259c3df4337 (diff)
downloadports-579208a09165aaa1aa093fc14913c79c6c41500f.tar.gz
ports-579208a09165aaa1aa093fc14913c79c6c41500f.zip
Notes
Diffstat (limited to 'databases/libmemcached')
-rw-r--r--databases/libmemcached/Makefile2
-rw-r--r--databases/libmemcached/files/patch-libmemcached__memcached_io.c12
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;