summaryrefslogtreecommitdiff
path: root/databases/redis5/files/extra-patch-deps_lua_src_lua__cjson.c
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2021-01-13 15:37:27 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2021-01-13 15:37:27 +0000
commit8b939f044b43fb905f34333c9cd54c63687f6d9e (patch)
treee031e8395f3f4e936ba083c5b87757ffd09958d8 /databases/redis5/files/extra-patch-deps_lua_src_lua__cjson.c
parentmultimedia/rav1e: update to 0.4.0 (diff)
Repo-copy databases/redis to databases/redis5.
Update CONFLICTS. Do not connect to the build.
Diffstat (limited to 'databases/redis5/files/extra-patch-deps_lua_src_lua__cjson.c')
-rw-r--r--databases/redis5/files/extra-patch-deps_lua_src_lua__cjson.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/redis5/files/extra-patch-deps_lua_src_lua__cjson.c b/databases/redis5/files/extra-patch-deps_lua_src_lua__cjson.c
new file mode 100644
index 000000000000..847b70d25dea
--- /dev/null
+++ b/databases/redis5/files/extra-patch-deps_lua_src_lua__cjson.c
@@ -0,0 +1,11 @@
+--- deps/lua/src/lua_cjson.c.orig 2019-12-08 07:56:31.419672000 -0500
++++ deps/lua/src/lua_cjson.c 2019-12-08 07:56:52.389362000 -0500
+@@ -1299,7 +1299,7 @@
+ *
+ * luaL_setfuncs() is used to create a module table where the functions have
+ * json_config_t as their first upvalue. Code borrowed from Lua 5.2 source. */
+-static void luaL_setfuncs (lua_State *l, const luaL_Reg *reg, int nup)
++void luaL_setfuncs (lua_State *l, const luaL_Reg *reg, int nup)
+ {
+ int i;
+