commit: c110a9f43b68805d7ddb6774bf50edb0b0ace369 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sat Oct 29 09:44:24 2016 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sat Oct 29 09:44:58 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c110a9f4
media-libs/jasper: Require C11 support Gentoo-bug: 598418 Package-Manager: portage-2.3.2 media-libs/jasper/jasper-1.900.15.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/media-libs/jasper/jasper-1.900.15.ebuild b/media-libs/jasper/jasper-1.900.15.ebuild index 7c007cd..5f00d8f 100644 --- a/media-libs/jasper/jasper-1.900.15.ebuild +++ b/media-libs/jasper/jasper-1.900.15.ebuild @@ -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) \