openwrt-packages/net/xtables-addons/patches
Christian Marangi e182b15eb7
xtables-addons: fix compilation error on kernel 6.1
Fix compilation error on kernel 6.1.
Fix compilation error:
In file included from /mnt/Data/Sources/openwrt/x-wrt/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/xtables-addons-3.24/extensions/LUA/controller.h:24,
                 from /mnt/Data/Sources/openwrt/x-wrt/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/xtables-addons-3.24/extensions/LUA/xt_LUA_target.c:27:
/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/xtables-addons-3.24/extensions/LUA/lua/lua.h:12:10: fatal error: stddef.h: No such file or directory
   12 | #include <stddef.h>
      |          ^~~~~~~~~~
compilation terminated.

The error is caused by commit 04e85bbf71c9 ("isystem: delete global
-isystem compile option") present upstream from kernel 5.16. This
commit dropped the inclusion of system headers by default and caused
error on LUA module.
Following what is done in the commit for the required code, modify the
LUA Kbuild to include these header and restore correct compilation of
the LUA module.

Fixes: #21294
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-06-11 14:33:50 +02:00
..
001-fix-kernel-version-detection.patch xtables-addons: bump to 3.24 2023-05-14 18:17:20 +02:00
100-add-rtsp-conntrack.patch xtables-addons: bump to 3.24 2023-05-14 18:17:20 +02:00
200-add-lua-packetscript.patch xtables-addons: bump to 3.24 2023-05-14 18:17:20 +02:00
201-fix-lua-packetscript.patch xtables-addons: fix compilation error on kernel 6.1 2023-06-11 14:33:50 +02:00
210-freebsd-build-fix.patch treewide: Run refresh on all packages 2021-02-20 16:02:15 -08:00