commit:     ab58b4fb425174136b9fc0cf371fc00cc995cae0
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Mon Sep 22 12:16:46 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 22 15:25:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab58b4fb

dev-libs/uulib: fix c23

ifdef PROTOTYPES is here, let's use it

Closes: https://bugs.gentoo.org/943841
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>

 dev-libs/uulib/uulib-0.5.20-r3.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-libs/uulib/uulib-0.5.20-r3.ebuild 
b/dev-libs/uulib/uulib-0.5.20-r3.ebuild
index 534c8f243343..af1621b9a79b 100644
--- a/dev-libs/uulib/uulib-0.5.20-r3.ebuild
+++ b/dev-libs/uulib/uulib-0.5.20-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 MY_P=uudeview-${PV}
 
@@ -26,6 +26,11 @@ src_prepare() {
        eautoreconf
 }
 
+src_configure() {
+       append-cppflags -DPROTOTYPES # 943841
+       default
+}
+
 src_install() {
        default
        find "${D}" -name '*.la' -delete || die

Reply via email to