commit:     a3d877d69accfa72664aa461b675253b29e33487
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 15 21:00:31 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 21:00:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3d877d6

app-editors/ng: build w/ -std=gnu89

In 279064ccf66cd76b4ef8f2fb7d03db3b41d79655, a bunch of -Wno-* were
added but that isn't sufficient for the C99 porting effort. Instead,
pass -std=gnu89 which handles not making these errors out of the box.

Bug: https://bugs.gentoo.org/729234
Closes: https://bugs.gentoo.org/880419
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/ng/ng-1.5_beta1-r3.ebuild | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/app-editors/ng/ng-1.5_beta1-r3.ebuild 
b/app-editors/ng/ng-1.5_beta1-r3.ebuild
index 515e4a09db0d..1133173c0fad 100644
--- a/app-editors/ng/ng-1.5_beta1-r3.ebuild
+++ b/app-editors/ng/ng-1.5_beta1-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -34,10 +34,7 @@ src_prepare() {
        cd - >/dev/null || die
        cp sys/unix/configure . || die
        # written in K&R C
-       append-flags \
-               -Wno-implicit-function-declaration \
-               -Wno-implicit-int \
-               -Wno-return-type
+       append-flags -std=gnu89
 }
 
 src_configure() {

Reply via email to