1
1
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
..
adb-enablemodem adb-enablemodem: fix version for APK 2024-10-29 00:07:53 +01:00
arptables arptables: add CPPFLAGS 2026-02-17 22:30:34 +01:00
bpftool bpftool: update to 7.6.0 2025-11-22 23:11:28 +01:00
comgt comgt-ncm: fix setting ip[46]table and MTU 2025-12-25 16:11:35 +01:00
ebtables ebtables: add CPPFLAGS 2026-02-17 22:30:35 +01:00
ethtool packages: ethtool: restore CONFLICTS 2026-01-04 18:43:37 +01:00
iproute2 iproute2: include upstream patch for musl libc 2026-02-24 20:25:40 +01:00
ipset ipset: update to 7.24 2025-08-17 17:36:54 +02:00
iptables iptables: prefer nft variants over zz-legacy 2026-03-17 02:20:24 +01:00
iw treewide: add explicit default variant part 2 2026-01-04 18:42:42 +01:00
iwcap iwcap: add CPPFLAGS 2026-02-17 22:30:26 +01:00
iwinfo iwinfo: add CPPFLAGS 2026-02-17 22:30:33 +01:00
layerscape/restool restool: bump to lf-6.6.23-2.0.0 2024-09-22 16:21:02 +02:00
linux-atm linux-atm: fix building with GCC 15.1 2025-06-08 12:20:15 +02:00
ltq-dsl-base ltq-dsl-base: enable for ipq40xx 2023-01-16 23:41:41 +00:00
nftables nftables: update to version 1.1.6 2025-12-10 23:26:39 +01:00
resolveip resolveip: add CPPFLAGS 2026-02-17 22:30:27 +01:00
rssileds treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
tcpdump tcpdump: update to 4.99.6 2026-01-29 10:47:53 +01:00
umbim umbim: introduce devpath option 2026-03-30 13:02:58 +02:00
uqmi uqmi: introduce devpath option 2026-03-30 13:02:58 +02:00
wireguard-tools wireguard-tools: fix script errors 2026-02-09 00:47:28 +01:00
wireless-tools wireless-tools: add CPPFLAGS 2026-02-17 22:30:28 +01:00
wpan-tools wpan-tools: update to 0.10 2025-11-25 14:08:07 +01:00
wwan treewide: use APK compatible version schema 2024-03-22 22:14:22 +01:00
xdp-tools xdp-tools: fix musl build issues 2026-04-20 16:43:23 +02:00