commit:     f98f2d1e819cea8085f0c3bbc2771d363f430b72
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 15 07:44:33 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Sep 15 07:45:15 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f98f2d1e

dev-libs/ucl: Allow for compiling with GCC 6

Gentoo-bug: 585632

Package-Manager: portage-2.3.0

 dev-libs/ucl/ucl-1.03-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-libs/ucl/ucl-1.03-r1.ebuild b/dev-libs/ucl/ucl-1.03-r1.ebuild
index 49083ba..2a7d118 100644
--- a/dev-libs/ucl/ucl-1.03-r1.ebuild
+++ b/dev-libs/ucl/ucl-1.03-r1.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-inherit autotools eutils
+inherit autotools eutils flag-o-matic
 
 DESCRIPTION="the UCL Compression Library"
 HOMEPAGE="http://www.oberhumer.com/opensource/ucl/";
@@ -32,6 +32,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #585632
+       append-cflags -std=c90
+
        econf \
                --enable-shared \
                $(use_enable static-libs static)

Reply via email to