summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/jasper')
-rw-r--r--media-libs/jasper/jasper-1.900.15.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/media-libs/jasper/jasper-1.900.15.ebuild b/media-libs/jasper/jasper-1.900.15.ebuild
index 7c007cdc115f..5f00d8fb4a16 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) \