Gentoo's Bugzilla –
Attachment 854926 Details for
Bug 898066net-nds/ldapvi-1.7_p20101214-r4 fails to compile (MUSL-CLANG-SYSTEM): ldapvi.c:580:2: error: call to undeclared function on_exit; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]