aboutsummaryrefslogtreecommitdiffstats
path: root/main/mupdf/openjpeg-2.1.patch
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2016-11-22 11:25:22 -0500
committerTimo Teräs <timo.teras@iki.fi>2016-11-24 06:37:52 +0000
commit1400aa953619f0e209740206eed25c2f0167d21f (patch)
tree097c863fb681af918480fe5cc710e239dc3c500a /main/mupdf/openjpeg-2.1.patch
parent5e7b7fecefc250d393a58cba9ac3b889479be651 (diff)
downloadaports-1400aa953619f0e209740206eed25c2f0167d21f.tar.bz2
aports-1400aa953619f0e209740206eed25c2f0167d21f.tar.xz
main/mupdf: upgrade to 1.10
CVE-2016-8674 CVE-2016-6525 (patch removed) CVE-2016-6265 (patch removed)
Diffstat (limited to 'main/mupdf/openjpeg-2.1.patch')
-rw-r--r--main/mupdf/openjpeg-2.1.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/main/mupdf/openjpeg-2.1.patch b/main/mupdf/openjpeg-2.1.patch
new file mode 100644
index 0000000000..2e14db0f44
--- /dev/null
+++ b/main/mupdf/openjpeg-2.1.patch
@@ -0,0 +1,17 @@
+--- mupdf-1.10-source/source/fitz/load-jpx.c.orig
++++ mupdf-1.10-source/source/fitz/load-jpx.c
+@@ -481,14 +481,6 @@
+
+ #else /* HAVE_LURATECH */
+
+-/* Without the definition of OPJ_STATIC, compilation fails on windows
+- * due to the use of __stdcall. We believe it is required on some
+- * linux toolchains too. */
+-#define OPJ_STATIC
+-#ifndef _MSC_VER
+-#define OPJ_HAVE_STDINT_H
+-#endif
+-
+ #include <openjpeg.h>
+
+ /* OpenJPEG does not provide a safe mechanism to intercept