summaryrefslogtreecommitdiff
path: root/databases/redis5/files/extra-patch-deps_lua_src_lua__cjson.c
diff options
context:
space:
mode:
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;
+