diff --git a/net/xtables-addons/patches/200-add-lua-packetscript.patch b/net/xtables-addons/patches/200-add-lua-packetscript.patch index ae60b494..c815e1a6 100644 --- a/net/xtables-addons/patches/200-add-lua-packetscript.patch +++ b/net/xtables-addons/patches/200-add-lua-packetscript.patch @@ -1352,7 +1352,7 @@ +** See Copyright Notice in lua.h +*/ + -+//#include ++#include +#include +#include +#include @@ -2460,7 +2460,7 @@ +** See Copyright Notice in lua.h +*/ + -+//#include ++#include + +#if !defined(__KERNEL__) +#include @@ -3142,7 +3142,7 @@ +#define lauxlib_h + + -+//#include ++#include +#include /* for kmalloc and kfree when allocating luaL_Buffer */ + +#if !defined(__KERNEL__) @@ -4895,8 +4895,8 @@ +*/ + + -+//#include -+//#include ++#include ++#include +#include + +#define ldebug_c @@ -6148,7 +6148,7 @@ +** See Copyright Notice in lua.h +*/ + -+//#include ++#include + +#define ldump_c +#define LUA_CORE @@ -6316,7 +6316,7 @@ +*/ + + -+//#include ++#include + +#define lfunc_c +#define LUA_CORE @@ -7906,7 +7906,7 @@ +#ifndef llimits_h +#define llimits_h + -+//#include ++#include +#include + +#include "lua.h" @@ -8032,7 +8032,7 @@ +*/ + + -+//#include ++#include + +#define lmem_c +#define LUA_CORE @@ -8124,7 +8124,7 @@ +#define lmem_h + + -+//#include ++#include + +#include "llimits.h" +#include "lua.h" @@ -8172,7 +8172,7 @@ +** See Copyright Notice in lua.h +*/ + -+//#include ++#include + +#include +#include @@ -8395,7 +8395,7 @@ +#define lobject_h + + -+//#include ++#include + + +#include "llimits.h" @@ -10578,7 +10578,7 @@ +*/ + + -+//#include ++#include + +#define lstate_c +#define LUA_CORE @@ -11115,7 +11115,7 @@ + + +#include -+//#include ++#include +#include +#include +#include @@ -12634,7 +12634,7 @@ +*/ + + -+//#include ++#include + +#define ltablib_c +#define LUA_LIB @@ -13062,7 +13062,7 @@ +#ifndef lconfig_h +#define lconfig_h + -+//#include ++#include + +#if !defined(__KERNEL__) +#include @@ -13863,8 +13863,8 @@ +#ifndef lua_h +#define lua_h + -+//#include -+//#include ++#include ++#include + +#include "luaconf.h" + diff --git a/net/xtables-addons/patches/201-fix-lua-packetscript.patch b/net/xtables-addons/patches/201-fix-lua-packetscript.patch index 556beb73..5a016e2a 100644 --- a/net/xtables-addons/patches/201-fix-lua-packetscript.patch +++ b/net/xtables-addons/patches/201-fix-lua-packetscript.patch @@ -71,7 +71,7 @@ @@ -8,7 +8,6 @@ #define llimits_h - //#include + #include -#include #include "lua.h" @@ -82,7 +82,7 @@ ** See Copyright Notice in lua.h */ --//#include +-#include -#include -#include #include