openwrt/package
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
..
base-files base-files: sysupgrade: -u option was broken with apk 2026-04-13 01:29:04 +02:00
boot uboot-envtools: add extreme-networks,ws-ap3805i 2026-04-16 21:21:04 +02:00
devel gdb: add CPPFLAGS 2026-02-17 22:30:19 +01:00
firmware firmware: Add support for Airoha EN7581/AN7583 NPU variant firmware 2026-03-31 16:08:52 +02:00
kernel kernel: add kmods for vsockets over virtio 2026-03-29 17:29:13 +02:00
libs openssl: update to 3.5.6 2026-04-12 20:21:57 +02:00
network xdp-tools: fix musl build issues 2026-04-20 16:43:23 +02:00
system apk: add help text for 'apk add --force-reinstall' 2026-03-27 20:50:50 +01:00
utils jsonfilter: update to Git HEAD (2026-03-16) 2026-03-16 00:52:52 +01:00
Makefile build: use STAGING_DIR for special APK package versions 2026-03-07 10:12:44 +01:00