commit: b277afd13960d587c47b3c4bf2ce7a9ca1a5b313 Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Mon Sep 22 12:18:46 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Sep 22 15:25:46 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b277afd1
net-nntp/slrn: fix c23 >/var/tmp/portage/net-nntp/slrn-1.0.3-r2/work/slrn-1.0.3/src/art.c:4584:10: >error: too many arguments to function ‘UUSetBusyCallback’; expected 0, have 3 > 4584 | ret = UUSetBusyCallback (NULL, the_uudeview_busy_callback, 100); > | ^~~~~~~~~~~~~~~~~ ~~~~ ifdef PROTOTYPES is here, let's use it Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/43896 Signed-off-by: Sam James <sam <AT> gentoo.org> net-nntp/slrn/slrn-1.0.3-r2.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-nntp/slrn/slrn-1.0.3-r2.ebuild b/net-nntp/slrn/slrn-1.0.3-r2.ebuild index 0849a89ef7f9..74bf15a2129b 100644 --- a/net-nntp/slrn/slrn-1.0.3-r2.ebuild +++ b/net-nntp/slrn/slrn-1.0.3-r2.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit flag-o-matic + MY_P="${P}a" DESCRIPTION="A s-lang based newsreader" @@ -39,6 +41,7 @@ QA_CONFIG_IMPL_DECL_SKIP=( ) src_configure() { + append-cppflags -DPROTOTYPES # fix c23 econf \ --with-docdir="${EPREFIX}"/usr/share/doc/${PF} \ --with-slrnpull \
