update jasper

pull/2302/merge
Mark Brand 4 years ago
parent dd3d3ed125
commit bd76e1080e

@ -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

@ -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
Loading…
Cancel
Save