Files
openwrt/package/network/utils
Nick Hainke 37326a2aa3 xdp-tools: fix musl build issues
Add patches to fix build failures on musl-based toolchains:

0002-xdpsock-fix-struct-ethhdr-redefinition-on-musl.patch:
xdpsock.c included <net/ethernet.h> and <netinet/ether.h> alongside
<linux/if_ether.h>, triggering a struct ethhdr redefinition on musl.
Replace BSD-style ether_header/ether_addr with struct ethhdr and drop
the conflicting includes.

0003-build-use-gnu2x-to-avoid-stdbool.h-dependency.patch:
Switch CFLAGS and BPF_CFLAGS from -std=gnu11 to -std=gnu2x. In C23,
bool is a native keyword, fixing "stdbool.h: No such file or directory"
errors with a clang lacking its resource directory (e.g. llvm-bpf built
with LLVM_INSTALL_TOOLCHAIN_ONLY=ON on musl targets).

Link: https://github.com/openwrt/openwrt/pull/22983
(cherry picked from commit d16758d2d3)
Link: https://github.com/openwrt/openwrt/pull/23015
Signed-off-by: Nick Hainke <vincent@systemli.org>
2026-04-20 16:43:23 +02:00
..
2026-02-17 22:30:34 +01:00
2025-11-22 23:11:28 +01:00
2026-02-17 22:30:35 +01:00
2026-02-17 22:30:26 +01:00
2026-02-17 22:30:33 +01:00
2026-02-17 22:30:27 +01:00
2026-01-29 10:47:53 +01:00
2026-03-30 13:02:58 +02:00
2026-03-30 13:02:58 +02:00
2025-11-25 14:08:07 +01:00
…