app-editors/ng: fix build with Clang

Closes: https://bugs.gentoo.org/729234
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
This commit is contained in:
Akinori Hattori
2021-10-08 21:33:10 +09:00
parent 1cddea63e9
commit 279064ccf6

View File

@@ -3,7 +3,7 @@
EAPI="7"
inherit autotools toolchain-funcs
inherit autotools flag-o-matic toolchain-funcs
MY_P="${P/_beta/beta}"
@@ -33,6 +33,11 @@ src_prepare() {
eautoconf
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
}
src_configure() {