mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user