diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-03-28 19:12:41 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-28 19:40:58 -0700 |
| commit | e9567c58f84c6c487277228ba79b959e37b675da (patch) | |
| tree | 43961921bb939965cb07dac47848fcbd24624a3b /meta-python/recipes-devtools/python/files/0001-versioneer.py-do-not-use-SafeConfigParser.patch | |
| parent | 7f8c99bacf3a39a4dd1dbbc5d0780741f478e0b8 (diff) | |
| download | meta-openembedded-e9567c58f84c6c487277228ba79b959e37b675da.tar.gz | |
iperf2: Add _GNU_SOURCE in checksums.c
glibc defines struct udphdr as a union where members have aliased names
uh_sport -> source
uh_dport -> uh_dport
uh_dport -> len
check -> check
But musl only defines the aliases if _GNU_SOURCE is defined, ideally
iperf2 should be using uh_* names of the members so it is portable across
musl and glibc but thats for upstream to consider.
Fixes
| ../../iperf-2.2.1/src/checksums.c:175:19: error: no member named 'check' in 'struct udphdr'
| 175 | if (!udp_hdr->check) {
| | ~~~~~~~ ^
| 1 error generated.
| make[2]: *** [Makefile:539: checksums.o] Error 1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Randy MacLeod <Randy.MacLeod@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/files/0001-versioneer.py-do-not-use-SafeConfigParser.patch')
0 files changed, 0 insertions, 0 deletions
