Update to redis-2.2.4

General consensus from interested people.
This commit is contained in:
dcoppa 2011-04-11 07:54:49 +00:00
parent 9319cf7e1b
commit d638b6bf38
4 changed files with 35 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.7 2011/03/21 19:58:28 simon Exp $
# $OpenBSD: Makefile,v 1.8 2011/04/11 07:54:49 dcoppa Exp $
COMMENT = persistent key-value database
DISTNAME = redis-2.2.2
DISTNAME = redis-2.2.4
CATEGORIES = databases
HOMEPAGE = http://redis.io/

View File

@ -1,5 +1,5 @@
MD5 (redis-2.2.2.tar.gz) = HFsNlh2oSo+bRKMotDhUng==
RMD160 (redis-2.2.2.tar.gz) = p6IatqoH955c3rmRom3R1VRG444=
SHA1 (redis-2.2.2.tar.gz) = dblT5KMGdXBVXF8/Xo9IHEBImQQ=
SHA256 (redis-2.2.2.tar.gz) = TF/1ieyAvwGevrz1+1GHk51+UMNPqfigUR5Aglo+wjU=
SIZE (redis-2.2.2.tar.gz) = 446269
MD5 (redis-2.2.4.tar.gz) = yYJg36uGDak01GXoKa0IZg==
RMD160 (redis-2.2.4.tar.gz) = z2c9SukyglhC8g/LEjbhOXdx1vg=
SHA1 (redis-2.2.4.tar.gz) = Bj5un2Fc7aZk0GkabqWb77IuvEA=
SHA256 (redis-2.2.4.tar.gz) = bWErKBN8km+2tmj9hdJYYkafl1WvThXxs3y+b4iIKzI=
SIZE (redis-2.2.4.tar.gz) = 447499

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-deps_linenoise_Makefile,v 1.1 2011/04/11 07:54:49 dcoppa Exp $
--- deps/linenoise/Makefile.orig Fri Apr 8 13:47:34 2011
+++ deps/linenoise/Makefile Fri Apr 8 13:48:59 2011
@@ -1,10 +1,10 @@
linenoise_example: linenoise.h linenoise.c
linenoise_example: linenoise.o example.o
- $(CC) $(ARCH) -Wall -W -Os -g -o linenoise_example linenoise.o example.o
+ $(CC) $(CFLAGS) $(ARCH) -g -o linenoise_example linenoise.o example.o
.c.o:
- $(CC) $(ARCH) -c -Wall -W -Os -g $<
+ $(CC) $(CFLAGS) $(ARCH) -c -g $<
clean:
rm -f linenoise_example *.o

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_fmacros_h,v 1.1 2011/04/11 07:54:49 dcoppa Exp $
--- src/fmacros.h.orig Fri Apr 8 12:37:59 2011
+++ src/fmacros.h Fri Apr 8 12:38:11 2011
@@ -3,7 +3,7 @@
#define _BSD_SOURCE
-#ifdef __linux__
+#if defined(__linux__) || defined(__OpenBSD__)
#define _XOPEN_SOURCE 700
#else
#define _XOPEN_SOURCE