summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2016-01-04 21:33:59 +0200
committerEray Aslan <eras@gentoo.org>2016-01-04 21:33:59 +0200
commit16bd94f05d1d06ecf97c3e33b07df44f2dde5636 (patch)
treebff2093aa67ac52d946c502dfa588f690158c203 /app-misc/abook
parentsys-firmware/seabios: add keywords for everyone #570876 (diff)
downloadgentoo-16bd94f05d1d06ecf97c3e33b07df44f2dde5636.tar.gz
gentoo-16bd94f05d1d06ecf97c3e33b07df44f2dde5636.tar.bz2
gentoo-16bd94f05d1d06ecf97c3e33b07df44f2dde5636.zip
app-misc/abook: fix building with gcc-5 (#570428)
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-misc/abook')
-rw-r--r--app-misc/abook/abook-0.6.0_pre2.ebuild7
1 files changed, 6 insertions, 1 deletions
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"