From: Eray Aslan Date: Mon, 4 Jan 2016 19:33:59 +0000 (+0200) Subject: app-misc/abook: fix building with gcc-5 (#570428) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=16bd94f05d1d06ecf97c3e33b07df44f2dde5636;p=gentoo.git app-misc/abook: fix building with gcc-5 (#570428) Package-Manager: portage-2.2.26 --- diff --git a/app-misc/abook/abook-0.6.0_pre2.ebuild b/app-misc/abook/abook-0.6.0_pre2.ebuild index e383d809c9ba..e80a73b9b0de 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"