1 |
commit: 279064ccf66cd76b4ef8f2fb7d03db3b41d79655 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 8 12:33:10 2021 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 8 12:33:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=279064cc |
7 |
|
8 |
app-editors/ng: fix build with Clang |
9 |
|
10 |
Closes: https://bugs.gentoo.org/729234 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
13 |
|
14 |
app-editors/ng/ng-1.5_beta1-r3.ebuild | 7 ++++++- |
15 |
1 file changed, 6 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/app-editors/ng/ng-1.5_beta1-r3.ebuild b/app-editors/ng/ng-1.5_beta1-r3.ebuild |
18 |
index 9c71c540e8b..92a75d620f7 100644 |
19 |
--- a/app-editors/ng/ng-1.5_beta1-r3.ebuild |
20 |
+++ b/app-editors/ng/ng-1.5_beta1-r3.ebuild |
21 |
@@ -3,7 +3,7 @@ |
22 |
|
23 |
EAPI="7" |
24 |
|
25 |
-inherit autotools toolchain-funcs |
26 |
+inherit autotools flag-o-matic toolchain-funcs |
27 |
|
28 |
MY_P="${P/_beta/beta}" |
29 |
|
30 |
@@ -33,6 +33,11 @@ src_prepare() { |
31 |
eautoconf |
32 |
cd - >/dev/null || die |
33 |
cp sys/unix/configure . || die |
34 |
+ # written in K&R C |
35 |
+ append-flags \ |
36 |
+ -Wno-implicit-function-declaration \ |
37 |
+ -Wno-implicit-int \ |
38 |
+ -Wno-return-type |
39 |
} |
40 |
|
41 |
src_configure() { |