dev-libs/ucl: Allow for compiling with GCC 6
authorDavid Seifert <soap@gentoo.org>
Thu, 15 Sep 2016 07:44:33 +0000 (09:44 +0200)
committerDavid Seifert <soap@gentoo.org>
Thu, 15 Sep 2016 07:45:15 +0000 (09:45 +0200)
Gentoo-bug: 585632

Package-Manager: portage-2.3.0

dev-libs/ucl/ucl-1.03-r1.ebuild

index 49083baea207acd318a9953ffb6a1a5ce217c18c..2a7d118b6e8ef53686954cb33b0d9d4ff6311957 100644 (file)
@@ -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)