1 |
commit: c110a9f43b68805d7ddb6774bf50edb0b0ace369 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 29 09:44:24 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 29 09:44:58 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c110a9f4 |
7 |
|
8 |
media-libs/jasper: Require C11 support |
9 |
|
10 |
Gentoo-bug: 598418 |
11 |
|
12 |
Package-Manager: portage-2.3.2 |
13 |
|
14 |
media-libs/jasper/jasper-1.900.15.ebuild | 9 ++++++++- |
15 |
1 file changed, 8 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/media-libs/jasper/jasper-1.900.15.ebuild b/media-libs/jasper/jasper-1.900.15.ebuild |
18 |
index 7c007cd..5f00d8f 100644 |
19 |
--- a/media-libs/jasper/jasper-1.900.15.ebuild |
20 |
+++ b/media-libs/jasper/jasper-1.900.15.ebuild |
21 |
@@ -4,7 +4,7 @@ |
22 |
|
23 |
EAPI=6 |
24 |
|
25 |
-inherit autotools multilib-minimal |
26 |
+inherit autotools flag-o-matic multilib-minimal |
27 |
|
28 |
DESCRIPTION="Implementation of the codec specified in the JPEG-2000 Part-1 standard" |
29 |
HOMEPAGE="http://www.ece.uvic.ca/~mdadams/jasper/" |
30 |
@@ -42,6 +42,13 @@ src_prepare() { |
31 |
eautoreconf |
32 |
} |
33 |
|
34 |
+src_configure() { |
35 |
+ # bug 598418 |
36 |
+ append-cflags -std=gnu11 |
37 |
+ |
38 |
+ multilib-minimal_src_configure |
39 |
+} |
40 |
+ |
41 |
multilib_src_configure() { |
42 |
ECONF_SOURCE="${S}" econf \ |
43 |
$(use_enable jpeg libjpeg) \ |