Bugfix update to redis-2.0.4

This commit is contained in:
dcoppa 2010-11-17 08:44:54 +00:00
parent b7afc481de
commit 6c366f8fa6
4 changed files with 25 additions and 11 deletions

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.3 2010/10/17 12:48:46 dcoppa Exp $
# $OpenBSD: Makefile,v 1.4 2010/11/17 08:44:54 dcoppa Exp $
COMMENT = persistent key-value database
DISTNAME = redis-2.0.3
DISTNAME = redis-2.0.4
CATEGORIES = databases
HOMEPAGE = http://redis.googlecode.com/

View File

@ -1,5 +1,5 @@
MD5 (redis-2.0.3.tar.gz) = d5neefNuvbc7y48JgW0aww==
RMD160 (redis-2.0.3.tar.gz) = bCUeK/Z0vSDCBdVlFg/xdRYNlq0=
SHA1 (redis-2.0.3.tar.gz) = MGaHFZ7nzSMn2iJZPxBl05WDqZc=
SHA256 (redis-2.0.3.tar.gz) = XLN/IkY/lEM5IEnZd4vuBv4qCTb/lEBMhBySmZ1W7Oc=
SIZE (redis-2.0.3.tar.gz) = 348407
MD5 (redis-2.0.4.tar.gz) = YGVhE++2dZq2RNdJVinZCw==
RMD160 (redis-2.0.4.tar.gz) = 6K5g6cXPebL4EjO/plFmWf6jmD8=
SHA1 (redis-2.0.4.tar.gz) = /uLxlg7aIjhVA1F6mm3K5hDfhNU=
SHA256 (redis-2.0.4.tar.gz) = 9jXTHHK95UHOFgv7Q9uOCB3iMyJyPP/fMV0bdrAQvz0=
SIZE (redis-2.0.4.tar.gz) = 346383

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-ae_c,v 1.1 2010/11/17 08:44:54 dcoppa Exp $
missing #include for memset(3)
--- ae.c.orig Wed Nov 17 08:38:00 2010
+++ ae.c Wed Nov 17 08:38:15 2010
@@ -35,6 +35,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
+#include <string.h>
#include "ae.h"
#include "zmalloc.h"

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-redis_c,v 1.2 2010/10/17 12:48:46 dcoppa Exp $
$OpenBSD: patch-redis_c,v 1.3 2010/11/17 08:44:54 dcoppa Exp $
Fix an alignment problem that was causing a SIGBUS on strict alignment
archs like SPARC
--- redis.c.orig Fri Oct 15 13:07:25 2010
+++ redis.c Sun Oct 17 13:41:22 2010
@@ -7444,7 +7444,7 @@ static int deleteIfVolatile(redisDb *db, robj *key) {
--- redis.c.orig Sat Nov 6 10:09:28 2010
+++ redis.c Wed Nov 17 08:35:50 2010
@@ -7447,7 +7447,7 @@ static int deleteIfVolatile(redisDb *db, robj *key) {
static void expireGenericCommand(redisClient *c, robj *key, robj *param, long offset) {
dictEntry *de;