You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/qtimageformats-1-fixes.patch

24 lines
669 B

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