summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/examples/qt5-freeze/qtimageformats-2.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/examples/qt5-freeze/qtimageformats-2.patch b/plugins/examples/qt5-freeze/qtimageformats-2.patch
new file mode 100644
index 0000000..4bce01d
--- /dev/null
+++ b/plugins/examples/qt5-freeze/qtimageformats-2.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