From a3d877d69accfa72664aa461b675253b29e33487 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 15 Feb 2025 21:00:31 +0000 Subject: [PATCH] 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 --- 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 515e4a09db0dd..1133173c0fada 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() {