aboutsummaryrefslogtreecommitdiffstats
path: root/main/mupdf/openjpeg-2.1.patch
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2017-04-11 13:26:36 -0400
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-04-20 10:37:51 +0000
commit9993cf9be978a22205ee895a252ed36bd6021e76 (patch)
tree69e22aa0e027d355d2cff909aa13eb3bb379d487 /main/mupdf/openjpeg-2.1.patch
parentefd3fc99eda2cd0399aaf36fe649a6b6674fc160 (diff)
downloadaports-9993cf9be978a22205ee895a252ed36bd6021e76.tar.bz2
aports-9993cf9be978a22205ee895a252ed36bd6021e76.tar.xz
main/mupdf: upgrade to 1.11
Move muraster to mupdf-tools
Diffstat (limited to 'main/mupdf/openjpeg-2.1.patch')
-rw-r--r--main/mupdf/openjpeg-2.1.patch17
1 files changed, 7 insertions, 10 deletions
diff --git a/main/mupdf/openjpeg-2.1.patch b/main/mupdf/openjpeg-2.1.patch
index 2e14db0f44..3181c461f3 100644
--- a/main/mupdf/openjpeg-2.1.patch
+++ b/main/mupdf/openjpeg-2.1.patch
@@ -1,17 +1,14 @@
---- mupdf-1.10-source/source/fitz/load-jpx.c.orig
-+++ mupdf-1.10-source/source/fitz/load-jpx.c
-@@ -481,14 +481,6 @@
+--- mupdf-1.11-source/source/fitz/load-jpx.c.orig
++++ mupdf-1.11-source/source/fitz/load-jpx.c
+@@ -444,11 +444,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_INTTYPES_H
+-#if !defined(_WIN32) && !defined(_WIN64)
-#define OPJ_HAVE_STDINT_H
-#endif
--
- #include <openjpeg.h>
+ #define USE_JPIP
- /* OpenJPEG does not provide a safe mechanism to intercept
+ #include <openjpeg.h>