net-mail/cyrus-imapd-3.0.11 fails to build with recent versions of sys-libs/libcap: lib/util.c:582:12: error: conflicting types for ‘cap_setuid’ 582 | static int cap_setuid(int uid, int is_master) | ^~~~~~~~~~ In file included from lib/util.c:57: /usr/include/sys/capability.h:178:12: note: previous declaration of ‘cap_setuid’ was here 178 | extern int cap_setuid(uid_t uid); | ^~~~~~~~~~ make[2]: *** [Makefile:4541: lib/util.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... The upstream has a patch available for this issue, I have linked it at URL field. This patch applies cleanly and makes the package buildable again.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bccf2ea2f117c28889359760444e1740e96b7f97 commit bccf2ea2f117c28889359760444e1740e96b7f97 Author: Eray Aslan <eras@gentoo.org> AuthorDate: 2020-04-09 14:07:45 +0000 Commit: Eray Aslan <eras@gentoo.org> CommitDate: 2020-04-09 14:07:45 +0000 net-mail/cyrus-imapd: security bump to 3.0.13 also fixes building with new versions of libcap and gcc-10 Closes: https://bugs.gentoo.org/713728 Closes: https://bugs.gentoo.org/713502 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Eray Aslan <eras@gentoo.org> net-mail/cyrus-imapd/Manifest | 1 + net-mail/cyrus-imapd/cyrus-imapd-3.0.13.ebuild | 230 +++++++++++++++++++++ .../cyrus-imapd/files/cyrus-imapd-libcap.patch | 64 ++++++ net-mail/cyrus-imapd/metadata.xml | 2 +- 4 files changed, 296 insertions(+), 1 deletion(-)