commit: 16bd94f05d1d06ecf97c3e33b07df44f2dde5636 Author: Eray Aslan <eras <AT> gentoo <DOT> org> AuthorDate: Mon Jan 4 19:33:59 2016 +0000 Commit: Eray Aslan <eras <AT> gentoo <DOT> org> CommitDate: Mon Jan 4 19:33:59 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16bd94f0
app-misc/abook: fix building with gcc-5 (#570428) Package-Manager: portage-2.2.26 app-misc/abook/abook-0.6.0_pre2.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app-misc/abook/abook-0.6.0_pre2.ebuild b/app-misc/abook/abook-0.6.0_pre2.ebuild index e383d80..e80a73b 100644 --- a/app-misc/abook/abook-0.6.0_pre2.ebuild +++ b/app-misc/abook/abook-0.6.0_pre2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -32,6 +32,11 @@ src_configure() { econf $(use_enable nls) } +src_compile() { + # bug 570428 + emake CFLAGS="${CFLAGS} -std=gnu89" +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc BUGS ChangeLog FAQ README TODO sample.abookrc || die "dodoc failed"