Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff -Naur lua-compat-5.2/c-api/compat-5.2.h lua-compat-5.2-patched/c-api/compat-5.2.h 2--- lua-compat-5.2/c-api/compat-5.2.h 2015-02-19 09:23:42.000000000 +1100 3+++ lua-compat-5.2-patched/c-api/compat-5.2.h 2019-06-17 17:58:13.585361793 +1000 4@@ -146,8 +146,10 @@ 5 #define lua_pushglobaltable(L) \ 6 lua_pushvalue(L, LUA_GLOBALSINDEX) 7 8+#if !defined(luaL_newlib) 9 #define luaL_newlib(L, l) \ 10 (lua_newtable((L)),luaL_setfuncs((L), (l), 0)) 11+#endif 12 13 void luaL_checkversion (lua_State *L); 14