Skip to content

main/strace: patch updated IPPROTO_MAX

Kevin Daudt requested to merge kdaudt/aports:strace-fix-max-proto into master

musl has updated the value of IPPROTO_MAX to include new protocols. Strace keeps a copy of these constants and verifies them at build time.

This results in a build failure:

xlat/inet_protocols.h:239:1: error: static assertion failed:
"IPPROTO_MAX != 256"
  239 | static_assert((IPPROTO_MAX) == (256), "IPPROTO_MAX != 256");
        | ^~~~~~~~~~~~~

Update the value of IPPROTO_MAX to match what's in /usr/include/inet/in.h

Fixes #12132 (closed)

Merge request reports