Skip to content

Commit

Permalink
app-editors/ng: fix build with Clang
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/729234
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Akinori Hattori <[email protected]>
  • Loading branch information
hattya committed Oct 8, 2021
1 parent 1cddea6 commit 279064c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app-editors/ng/ng-1.5_beta1-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI="7"

inherit autotools toolchain-funcs
inherit autotools flag-o-matic toolchain-funcs

MY_P="${P/_beta/beta}"

Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 279064c

Please sign in to comment.