From 569e598d38adb1918d127ee31af1cd332b072dcf Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 23:29:24 +0200 Subject: Initial commit. --- rspamd/rspamd-fedora.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 rspamd/rspamd-fedora.patch (limited to 'rspamd/rspamd-fedora.patch') diff --git a/rspamd/rspamd-fedora.patch b/rspamd/rspamd-fedora.patch new file mode 100644 index 0000000..1e7d023 --- /dev/null +++ b/rspamd/rspamd-fedora.patch @@ -0,0 +1,26 @@ +diff -ru ./src/lua/lua_common.h ../rspamd-0.8.0.p/src/lua/lua_common.h +--- ./src/lua/lua_common.h 2014-12-17 16:51:42.000000000 +0200 ++++ ../rspamd-0.8.0.p/src/lua/lua_common.h 2015-01-09 14:25:09.696650229 +0200 +@@ -25,21 +25,6 @@ + lua_pushnumber (L, val); \ + lua_settable (L, -3); + +-#if LUA_VERSION_NUM > 501 +-static inline void +-luaL_register (lua_State *L, const gchar *name, const struct luaL_reg *methods) +-{ +- if (name != NULL) { +- lua_newtable (L); +- } +- luaL_setfuncs (L, methods, 0); +- if (name != NULL) { +- lua_pushvalue (L, -1); +- lua_setglobal (L, name); +- } +-} +-#endif +- + /* Interface definitions */ + #define LUA_FUNCTION_DEF(class, name) static gint lua_ ## class ## _ ## name ( \ + lua_State * L) + -- cgit v1.2.3-70-g09d2