freebsd-ports/databases/redis/files/extra-patch-deps_lua_src_lua__cjson.c
Sergey A. Osokin f89523c517 Merge the following changes from databases/redis-devel:
o) respect [C|CXX]FLAGS
o) support the openresty's flavor of luajit

Bump PORTREVISION.
2019-12-12 00:57:24 +00:00

12 lines
473 B
C

--- 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;