aboutsummaryrefslogtreecommitdiff
path: root/databases/redis
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2018-04-17 23:05:16 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2018-04-17 23:05:16 +0000
commitdebdd412f78e115ffaffac38e01397966ad092a9 (patch)
treeaa07d2b1c939920e0c8b05ae7c3311ed5dc967a9 /databases/redis
parentab3dbf7f9c950b4a383415ebe8f9be7a6a1cfe2c (diff)
downloadports-debdd412f78e115ffaffac38e01397966ad092a9.tar.gz
ports-debdd412f78e115ffaffac38e01397966ad092a9.zip
Notes
Diffstat (limited to 'databases/redis')
-rw-r--r--databases/redis/Makefile1
-rw-r--r--databases/redis/files/patch-src-lua_cjson.c12
2 files changed, 13 insertions, 0 deletions
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"