summaryrefslogtreecommitdiff
path: root/devel/memcached/patches
diff options
context:
space:
mode:
authorgrant <grant>2007-03-02 11:20:09 +0000
committergrant <grant>2007-03-02 11:20:09 +0000
commit6d62191df665c1b6aeb61724f0dd8757d64e91e9 (patch)
treee6178f5b6fb00f1b761a34eaf46f4b2c66bcabfa /devel/memcached/patches
parentf858c5a4162960741321f13397842cc44493f2bc (diff)
downloadpkgsrc-6d62191df665c1b6aeb61724f0dd8757d64e91e9.tar.gz
make this build on Solaris with sunpro.
Diffstat (limited to 'devel/memcached/patches')
-rw-r--r--devel/memcached/patches/patch-ab11
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/memcached/patches/patch-ab b/devel/memcached/patches/patch-ab
index f6acedfdafa..96447f6193c 100644
--- a/devel/memcached/patches/patch-ab
+++ b/devel/memcached/patches/patch-ab
@@ -1,7 +1,16 @@
-$NetBSD: patch-ab,v 1.1 2007/02/27 11:29:19 grant Exp $
+$NetBSD: patch-ab,v 1.2 2007/03/02 11:20:10 grant Exp $
--- memcached.h.orig 2006-12-05 20:34:10.000000000 +1100
+++ 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 */
+- 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