1 |
commit: cc69d4a1a2d2b6dd8006b39f03fc3c9001f4c24a |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 20 13:46:38 2020 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 20 13:46:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc69d4a1 |
7 |
|
8 |
app-i18n/skkfep: fix build with Clang |
9 |
|
10 |
Closes: https://bugs.gentoo.org/729276 |
11 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
12 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
13 |
|
14 |
app-i18n/skkfep/skkfep-0.87-r1.ebuild | 9 +++++++-- |
15 |
1 file changed, 7 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/app-i18n/skkfep/skkfep-0.87-r1.ebuild b/app-i18n/skkfep/skkfep-0.87-r1.ebuild |
18 |
index 3a217647e69..468bfc2ab5e 100644 |
19 |
--- a/app-i18n/skkfep/skkfep-0.87-r1.ebuild |
20 |
+++ b/app-i18n/skkfep/skkfep-0.87-r1.ebuild |
21 |
@@ -1,9 +1,9 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI="6" |
27 |
|
28 |
-inherit toolchain-funcs |
29 |
+inherit flag-o-matic toolchain-funcs |
30 |
|
31 |
DESCRIPTION="A SKK-like Japanese input method for console" |
32 |
HOMEPAGE="http://aitoweb.world.coocan.jp/soft.html" |
33 |
@@ -32,6 +32,11 @@ src_prepare() { |
34 |
sed -i "/SYSTEM_DIC_NAME/a#define SYSTEM_DIC_NAME \"${EPREFIX}/usr/share/skk/SKK-JISYO.L\"" config.h |
35 |
|
36 |
default |
37 |
+ # written in K&R C |
38 |
+ append-flags \ |
39 |
+ -Wno-implicit-function-declaration \ |
40 |
+ -Wno-implicit-int \ |
41 |
+ -Wno-return-type |
42 |
} |
43 |
|
44 |
src_compile() { |