commit:     239366bf57547ff28ba44072d46a47af8770c8b0
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Thu Feb 27 01:25:25 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 02:40:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239366bf

app-arch/unadf: avoid c23 change breakage by setting -std=gnu17

Closes: https://bugs.gentoo.org/943902
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-arch/unadf/unadf-0.7.12-r2.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/app-arch/unadf/unadf-0.7.12-r2.ebuild 
b/app-arch/unadf/unadf-0.7.12-r2.ebuild
index 5e358f5bf7e8..2ce449df37a8 100644
--- a/app-arch/unadf/unadf-0.7.12-r2.ebuild
+++ b/app-arch/unadf/unadf-0.7.12-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 MY_PN="adflib"
 
@@ -23,6 +23,11 @@ src_prepare() {
        eautoreconf
 }
 
+src_configure() {
+       append-cflags -std=gnu17 #bug #943902
+       econf
+}
+
 src_install() {
        default
        find "${ED}" -name '*.la' -delete || die

Reply via email to