strace: Fix builds with musl
This backports a set of patches from upstream to fix build error: | ../strace-5.5/xlat/inet_protocols.h:232:1: error: static assertion failed: "IPPROTO_MAX != 256" | 232 | static_assert((IPPROTO_MAX) == (256), "IPPROTO_MAX != 256"); It also adds a patch to regenerate the headers based on the updated/modified .in files. Fixes https://git.ostc-eu.org/OSTC/OHOS/meta-ohos/-/issues/102 Signed-off-by:Andrei Gherzan <andrei.gherzan@huawei.com>
Showing
- meta-ohos-core/recipes-devtools/strace/strace-5.5/0001-xlat-update-IPPROTO_-constants.patch 26 additions, 0 deletions...race/strace-5.5/0001-xlat-update-IPPROTO_-constants.patch
- meta-ohos-core/recipes-devtools/strace/strace-5.5/0002-xlat-add-IPPROTO_ETHERNET-to-inet_protocols.patch 29 additions, 0 deletions....5/0002-xlat-add-IPPROTO_ETHERNET-to-inet_protocols.patch
- meta-ohos-core/recipes-devtools/strace/strace-5.5/0003-xlat-remove-IPPROTO_MAX.patch 29 additions, 0 deletions...ools/strace/strace-5.5/0003-xlat-remove-IPPROTO_MAX.patch
- meta-ohos-core/recipes-devtools/strace/strace-5.5/0004-Regenerate-xlat-headers.patch 59 additions, 0 deletions...ools/strace/strace-5.5/0004-Regenerate-xlat-headers.patch
- meta-ohos-core/recipes-devtools/strace/strace_5.5.bbappend 12 additions, 0 deletionsmeta-ohos-core/recipes-devtools/strace/strace_5.5.bbappend
Please register or sign in to comment