From debdd412f78e115ffaffac38e01397966ad092a9 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Tue, 17 Apr 2018 23:05:16 +0000 Subject: [PATCH] Add a workaround for solarisfixes.h header file. Bump PORTREVISIONs. --- databases/redis-devel/Makefile | 2 +- databases/redis-devel/files/patch-src-lua_cjson.c | 12 ++++++++++++ databases/redis/Makefile | 1 + databases/redis/files/patch-src-lua_cjson.c | 12 ++++++++++++ 4 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 databases/redis-devel/files/patch-src-lua_cjson.c create mode 100644 databases/redis/files/patch-src-lua_cjson.c diff --git a/databases/redis-devel/Makefile b/databases/redis-devel/Makefile index 0bcc7d648ce0..1aceab17b08c 100644 --- a/databases/redis-devel/Makefile +++ b/databases/redis-devel/Makefile @@ -3,7 +3,7 @@ PORTNAME= redis DISTVERSION= 4.0.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= http://download.redis.io/releases/ PKGNAMESUFFIX= -devel diff --git a/databases/redis-devel/files/patch-src-lua_cjson.c b/databases/redis-devel/files/patch-src-lua_cjson.c new file mode 100644 index 000000000000..e4b95cb884ff --- /dev/null +++ b/databases/redis-devel/files/patch-src-lua_cjson.c @@ -0,0 +1,12 @@ +--- deps/lua/src/lua_cjson.c.orig 2016-12-04 20:49:41.925218000 -0500 ++++ deps/lua/src/lua_cjson.c 2016-12-04 20:49:59.728885000 -0500 +@@ -46,7 +46,9 @@ + #include "strbuf.h" + #include "fpconv.h" + ++#if defined(__sun) + #include "../../../src/solarisfixes.h" ++#endif + + #ifndef CJSON_MODNAME + #define CJSON_MODNAME "cjson" diff --git a/databases/redis/Makefile b/databases/redis/Makefile index 9e0f39488ec7..ddc8a0a21c48 100644 --- a/databases/redis/Makefile +++ b/databases/redis/Makefile @@ -3,6 +3,7 @@ PORTNAME= redis DISTVERSION= 4.0.9 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://download.redis.io/releases/ diff --git a/databases/redis/files/patch-src-lua_cjson.c b/databases/redis/files/patch-src-lua_cjson.c new file mode 100644 index 000000000000..e4b95cb884ff --- /dev/null +++ b/databases/redis/files/patch-src-lua_cjson.c @@ -0,0 +1,12 @@ +--- deps/lua/src/lua_cjson.c.orig 2016-12-04 20:49:41.925218000 -0500 ++++ deps/lua/src/lua_cjson.c 2016-12-04 20:49:59.728885000 -0500 +@@ -46,7 +46,9 @@ + #include "strbuf.h" + #include "fpconv.h" + ++#if defined(__sun) + #include "../../../src/solarisfixes.h" ++#endif + + #ifndef CJSON_MODNAME + #define CJSON_MODNAME "cjson"