diff options
author | grant <grant@pkgsrc.org> | 2007-03-02 11:20:09 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2007-03-02 11:20:09 +0000 |
commit | 991192a2189a7347aeb1010b2897423b80462d50 (patch) | |
tree | e6178f5b6fb00f1b761a34eaf46f4b2c66bcabfa /devel/memcached | |
parent | 17e0a98df3cf883f15c675d6a45c36cdcfba6b3e (diff) | |
download | pkgsrc-991192a2189a7347aeb1010b2897423b80462d50.tar.gz |
make this build on Solaris with sunpro.
Diffstat (limited to 'devel/memcached')
-rw-r--r-- | devel/memcached/distinfo | 4 | ||||
-rw-r--r-- | devel/memcached/patches/patch-ab | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/devel/memcached/distinfo b/devel/memcached/distinfo index 42dc3fd0f79..40b45b674b9 100644 --- a/devel/memcached/distinfo +++ b/devel/memcached/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2007/02/27 11:29:19 grant Exp $ +$NetBSD: distinfo,v 1.5 2007/03/02 11:20:09 grant Exp $ SHA1 (memcached-1.2.1.tar.gz) = 07ce5441874c052d28484070438822eedd7cc8ec RMD160 (memcached-1.2.1.tar.gz) = 0b275591af74440f3de22946fb7ccc658f6578af Size (memcached-1.2.1.tar.gz) = 148755 bytes SHA1 (patch-aa) = 0420acd9ba1a90cd32896f3864b53c31528191cf -SHA1 (patch-ab) = c07e16d7234eb14f377a72568580e7bcbbd9e8f1 +SHA1 (patch-ab) = 35db483c34debc3a468b7009ddb093c4cf5532d7 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 |