summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-editors/ng/ng-1.5_beta1-r3.ebuild7
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() {