freebsd-ports/databases/redis/files/extra-patch-deps_lua_src_lua__cjson.c
Yasuhiro Kimura 27e36df36a databases/redis: Update to 7.0.0
* Mark BROKEN if any of external lua library options are
  enabled. Upstream add new APIs to bundled lua library and use them
  in source code of redis. This makes it impossible to compile and
  link redis with external lua libraries. According to the commit
  message of upstream repository they took the code of new API from
  the repository of lua. It means linking with external lua libraries
  may get possible again if they are updated. So mark BROKEN rather
  than remove these options.
* Update CONFLICTS of databases/redis*.
* Switch to DISTVERSION.
* Pet portlint and portclippy.
* Tidy up Makefile with portfmt.

ChangeLog:	https://github.com/redis/redis/releases/tag/7.0.0
Security:	cc42db1c-c65f-11ec-ad96-0800270512f4
2022-04-28 11:19:08 +09:00

11 lines
425 B
C

--- deps/lua/src/lua_cjson.c.orig 2019-12-08 12:56:31 UTC
+++ deps/lua/src/lua_cjson.c
@@ -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;