summaryrefslogtreecommitdiff
path: root/devel/memcached/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/memcached/patches/patch-ab')
-rw-r--r--devel/memcached/patches/patch-ab18
1 files changed, 6 insertions, 12 deletions
diff --git a/devel/memcached/patches/patch-ab b/devel/memcached/patches/patch-ab
index 96447f6193c..5d7f48290ff 100644
--- a/devel/memcached/patches/patch-ab
+++ b/devel/memcached/patches/patch-ab
@@ -1,19 +1,13 @@
-$NetBSD: patch-ab,v 1.2 2007/03/02 11:20:10 grant Exp $
+$NetBSD: patch-ab,v 1.3 2007/08/20 17:02:41 abs Exp $
---- memcached.h.orig 2006-12-05 20:34:10.000000000 +1100
+--- memcached.h.orig 2007-08-20 16:55:11.000000000 +0100
+++ memcached.h
-@@ -76,7 +76,7 @@ typedef struct _stritem {
- unsigned char it_flags; /* ITEM_* above */
- unsigned char slabs_clsid;/* which slab class we're in */
- unsigned char nkey; /* key length, w/terminating null and padding */
+@@ -102,7 +102,7 @@ typedef struct _stritem {
+ uint8_t it_flags; /* ITEM_* above */
+ uint8_t slabs_clsid;/* which slab class we're in */
+ uint8_t nkey; /* key length, w/terminating null and padding */
- void * end[0];
+ void * end[];
/* then null-terminated key */
/* then " flags length\r\n" (no terminating null) */
/* then data with terminating \r\n (no terminating null; it's binary!) */
-@@ -282,3 +282,5 @@ void item_flush_expired(void);
- void set_current_time (); /* update the global variable holding
- global 32-bit seconds-since-start time
- (to avoid 64 bit time_t) */
-+
-+extern int daemon(int, int);