summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2020-07-28 23:50:54 (GMT)
committerMark Brand <mabrand@mabrand.nl>2020-07-28 23:50:54 (GMT)
commitbd76e1080ef7ddbbfe683d6371629aecb02bc9bd (patch)
tree7fb8941fbd3bf9660ea7c2327ef6138d6928a180
parentdd3d3ed125cf0d149bb23aa52a286fdabb450cd8 (diff)
downloadmxe-bd76e1080ef7ddbbfe683d6371629aecb02bc9bd.zip
mxe-bd76e1080ef7ddbbfe683d6371629aecb02bc9bd.tar.gz
mxe-bd76e1080ef7ddbbfe683d6371629aecb02bc9bd.tar.bz2
update jasper
-rw-r--r--src/jasper.mk4
-rw-r--r--src/qtimageformats-1-fixes.patch23
2 files changed, 25 insertions, 2 deletions
diff --git a/src/jasper.mk b/src/jasper.mk
index 69ab4c4..e25721a 100644
--- a/src/jasper.mk
+++ b/src/jasper.mk
@@ -4,8 +4,8 @@ PKG := jasper
$(PKG)_WEBSITE := https://www.ece.uvic.ca/~mdadams/jasper/
$(PKG)_DESCR := JasPer
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 2.0.16
-$(PKG)_CHECKSUM := f1d8b90f231184d99968f361884e2054a1714fdbbd9944ba1ae4ebdcc9bbfdb1
+$(PKG)_VERSION := 2.0.19
+$(PKG)_CHECKSUM := b9d16162a088617ada36450f2374d72165377cb64b33ed197c200bcfb73ec76c
$(PKG)_GH_CONF := mdadams/jasper/tags, version-
$(PKG)_DEPS := cc jpeg
diff --git a/src/qtimageformats-1-fixes.patch b/src/qtimageformats-1-fixes.patch
new file mode 100644
index 0000000..4bce01d
--- /dev/null
+++ b/src/qtimageformats-1-fixes.patch
@@ -0,0 +1,23 @@
+This file is part of MXE. See LICENSE.md for licensing information.
+
+Contains ad hoc patches for cross building.
+
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Mark Brand <mabrand@mabrand.nl>
+Date: Wed, 29 Jul 2020 01:47:16 +0200
+Subject: [PATCH 1/1] add missing header for pow()
+
+
+diff --git a/src/plugins/imageformats/jp2/qjp2handler.cpp b/src/plugins/imageformats/jp2/qjp2handler.cpp
+index 1111111..2222222 100644
+--- a/src/plugins/imageformats/jp2/qjp2handler.cpp
++++ b/src/plugins/imageformats/jp2/qjp2handler.cpp
+@@ -46,6 +46,8 @@
+
+ #include <jasper/jasper.h>
+
++#include <math.h>
++
+ QT_BEGIN_NAMESPACE
+
+ class QJp2HandlerPrivate