-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://raw.githubusercontent.com/antirez/redis/6.0/00-RELEASENOTES Thanks to cwen for helping me figure out what was going on with 64-bit atomics on powerpc and gkoehler for fixing this in clang. ok danj sthen
- Loading branch information
Showing
15 changed files
with
161 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
SHA256 (redis-5.0.9.tar.gz) = U9CuFkzTNTbD1LcgrpoSjqYWbr8E/xrdO4XxJCCQy4U= | ||
SIZE (redis-5.0.9.tar.gz) = 1986574 | ||
SHA256 (redis-6.0.4.tar.gz) = MzcAWh4MOqKTyHwxNGfqisEZhJIfqwiAeZi6dlyZQ94= | ||
SIZE (redis-6.0.4.tar.gz) = 2217173 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
$OpenBSD: patch-deps_hiredis_Makefile,v 1.8 2018/04/24 14:35:29 kn Exp $ | ||
$OpenBSD: patch-deps_hiredis_Makefile,v 1.9 2020/06/08 07:32:47 tb Exp $ | ||
Index: deps/hiredis/Makefile | ||
--- deps/hiredis/Makefile.orig | ||
+++ deps/hiredis/Makefile | ||
@@ -181,7 +181,7 @@ $(PKGCONFNAME): hiredis.h | ||
@echo Cflags: -I\$${includedir} -D_FILE_OFFSET_BITS=64 >> $@ | ||
@@ -71,7 +71,7 @@ ifeq ($(USE_SSL),1) | ||
CFLAGS+=-DHIREDIS_TEST_SSL | ||
endif | ||
|
||
-ifeq ($(uname_S),Linux) | ||
+ifneq (,filter Linux OpenBSD,$(uname_S)) | ||
SSL_LDFLAGS=-lssl -lcrypto | ||
else | ||
OPENSSL_PREFIX?=/usr/local/opt/openssl | ||
@@ -236,7 +236,7 @@ $(SSL_PKGCONFNAME): hiredis.h | ||
@echo Libs.private: -lssl -lcrypto >> $@ | ||
|
||
install: $(DYLIBNAME) $(STLIBNAME) $(PKGCONFNAME) | ||
- mkdir -p $(INSTALL_INCLUDE_PATH) $(INSTALL_LIBRARY_PATH) | ||
+ $(INSTALL_DIR) $(INSTALL_INCLUDE_PATH) $(INSTALL_LIBRARY_PATH) | ||
$(INSTALL) hiredis.h async.h read.h sds.h adapters $(INSTALL_INCLUDE_PATH) | ||
- mkdir -p $(INSTALL_INCLUDE_PATH) $(INSTALL_INCLUDE_PATH)/adapters $(INSTALL_LIBRARY_PATH) | ||
+ $(INSTALL_DIR) $(INSTALL_INCLUDE_PATH) $(INSTALL_INCLUDE_PATH)/adapters $(INSTALL_LIBRARY_PATH) | ||
$(INSTALL) hiredis.h async.h read.h sds.h $(INSTALL_INCLUDE_PATH) | ||
$(INSTALL) adapters/*.h $(INSTALL_INCLUDE_PATH)/adapters | ||
$(INSTALL) $(DYLIBNAME) $(INSTALL_LIBRARY_PATH)/$(DYLIB_MINOR_NAME) | ||
cd $(INSTALL_LIBRARY_PATH) && ln -sf $(DYLIB_MINOR_NAME) $(DYLIBNAME) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
$OpenBSD: patch-deps_hiredis_net_c,v 1.2 2017/08/09 09:16:09 dcoppa Exp $ | ||
$OpenBSD: patch-deps_hiredis_net_c,v 1.3 2020/06/08 07:32:47 tb Exp $ | ||
Index: deps/hiredis/net.c | ||
--- deps/hiredis/net.c.orig | ||
+++ deps/hiredis/net.c | ||
@@ -141,7 +141,7 @@ int redisKeepAlive(redisContext *c, int interval) { | ||
@@ -179,7 +179,7 @@ int redisKeepAlive(redisContext *c, int interval) { | ||
return REDIS_ERR; | ||
} | ||
#else | ||
-#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) | ||
+#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__OpenBSD__) | ||
val = interval; | ||
if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &val, sizeof(val)) < 0) { | ||
__redisSetError(c,REDIS_ERR_OTHER,strerror(errno)); | ||
return REDIS_ERR; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.