The file open_with_exlock.c of mail-client/mailx-support fails to compile on the musl profiles because LOCK_EX is not exposed without including <sys/file.h>. So we currently use the patch https://cgit.gentoo.org/proj/hardened-dev.git/tree/mail-client/mailx-support/files/mailx-support-20060102-add-sys_file_h.patch?h=musl&id=48555b66e063e01be80c2c0941e6c46187b30e31 to add the missing include. (The man page says that flock() needs <sys/file.h>.) The file open_with_exlock.c has been added by gentoo to the OpenBSD utilities. So I ask for a new mailx-support tarball to be shipped with this change. Reproducible: Always
This packages seems pretty dead both upstream and downstream. So I am going to go ahead and added this patch to -r2 and bumped the ebuild to EAPI=5 while I at it. We should stabilize it in a month.
-r2 has been stabilized some time ago and mailx-support has been removed from the musl overlay.