Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/redis/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile	21 Mar 2011 19:58:28 -0000	1.7
+++ Makefile	8 Apr 2011 11:54:08 -0000
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.7 2011/03/21 19:58:28 simon Exp $
 
 COMMENT =		persistent key-value database
-DISTNAME =		redis-2.2.2
+DISTNAME =		redis-2.2.4
 CATEGORIES =		databases
 HOMEPAGE =		http://redis.io/
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/redis/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo	21 Mar 2011 19:58:28 -0000	1.5
+++ distinfo	8 Apr 2011 11:54:08 -0000
@@ -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
Index: patches/patch-deps_linenoise_Makefile
===================================================================
RCS file: patches/patch-deps_linenoise_Makefile
diff -N patches/patch-deps_linenoise_Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-deps_linenoise_Makefile	8 Apr 2011 11:54:08 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+--- 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
Index: patches/patch-src_fmacros_h
===================================================================
RCS file: patches/patch-src_fmacros_h
diff -N patches/patch-src_fmacros_h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_fmacros_h	8 Apr 2011 11:54:08 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- 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
