diff options
author | 2021-10-08 21:33:10 +0900 | |
---|---|---|
committer | 2021-10-08 21:33:10 +0900 | |
commit | 279064ccf66cd76b4ef8f2fb7d03db3b41d79655 (patch) | |
tree | 1ac0d8133c2d32fd5eaf94e95612cae9aebff102 /app-editors/ng | |
parent | app-editors/ng: update to EAPI 7 (diff) | |
download | gentoo-279064ccf66cd76b4ef8f2fb7d03db3b41d79655.tar.gz gentoo-279064ccf66cd76b4ef8f2fb7d03db3b41d79655.tar.bz2 gentoo-279064ccf66cd76b4ef8f2fb7d03db3b41d79655.zip |
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>
Diffstat (limited to 'app-editors/ng')
-rw-r--r-- | app-editors/ng/ng-1.5_beta1-r3.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app-editors/ng/ng-1.5_beta1-r3.ebuild b/app-editors/ng/ng-1.5_beta1-r3.ebuild index 9c71c540e8bd..92a75d620f79 100644 --- a/app-editors/ng/ng-1.5_beta1-r3.ebuild +++ b/app-editors/ng/ng-1.5_beta1-r3.ebuild @@ -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() { |