media-libs/jasper: Require C11 support
authorDavid Seifert <soap@gentoo.org>
Sat, 29 Oct 2016 09:44:24 +0000 (11:44 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 29 Oct 2016 09:44:58 +0000 (11:44 +0200)
Gentoo-bug: 598418

Package-Manager: portage-2.3.2

media-libs/jasper/jasper-1.900.15.ebuild

index 7c007cdc115fb71f80c16b64ec97e8a0565a9386..5f00d8fb4a162ccfa756142351bece826b55bc5b 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-inherit autotools multilib-minimal
+inherit autotools flag-o-matic multilib-minimal
 
 DESCRIPTION="Implementation of the codec specified in the JPEG-2000 Part-1 standard"
 HOMEPAGE="http://www.ece.uvic.ca/~mdadams/jasper/"
@@ -42,6 +42,13 @@ src_prepare() {
        eautoreconf
 }
 
+src_configure() {
+       # bug 598418
+       append-cflags -std=gnu11
+
+       multilib-minimal_src_configure
+}
+
 multilib_src_configure() {
        ECONF_SOURCE="${S}" econf \
                $(use_enable jpeg libjpeg) \