commit:     cc69d4a1a2d2b6dd8006b39f03fc3c9001f4c24a
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 20 13:46:38 2020 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Thu Aug 20 13:46:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc69d4a1

app-i18n/skkfep: fix build with Clang

Closes: https://bugs.gentoo.org/729276
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 app-i18n/skkfep/skkfep-0.87-r1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/app-i18n/skkfep/skkfep-0.87-r1.ebuild 
b/app-i18n/skkfep/skkfep-0.87-r1.ebuild
index 3a217647e69..468bfc2ab5e 100644
--- a/app-i18n/skkfep/skkfep-0.87-r1.ebuild
+++ b/app-i18n/skkfep/skkfep-0.87-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="A SKK-like Japanese input method for console"
 HOMEPAGE="http://aitoweb.world.coocan.jp/soft.html";
@@ -32,6 +32,11 @@ src_prepare() {
        sed -i "/SYSTEM_DIC_NAME/a#define SYSTEM_DIC_NAME 
\"${EPREFIX}/usr/share/skk/SKK-JISYO.L\"" config.h
 
        default
+       # written in K&R C
+       append-flags \
+               -Wno-implicit-function-declaration \
+               -Wno-implicit-int \
+               -Wno-return-type
 }
 
 src_compile() {

Reply via email to