diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2016-11-22 11:25:22 -0500 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-24 06:37:52 +0000 |
commit | 1400aa953619f0e209740206eed25c2f0167d21f (patch) | |
tree | 097c863fb681af918480fe5cc710e239dc3c500a /main/mupdf/openjpeg-2.1.1.patch | |
parent | 5e7b7fecefc250d393a58cba9ac3b889479be651 (diff) | |
download | aports-1400aa953619f0e209740206eed25c2f0167d21f.tar.bz2 aports-1400aa953619f0e209740206eed25c2f0167d21f.tar.xz |
main/mupdf: upgrade to 1.10
Diffstat (limited to 'main/mupdf/openjpeg-2.1.1.patch')
-rw-r--r-- | main/mupdf/openjpeg-2.1.1.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/main/mupdf/openjpeg-2.1.1.patch b/main/mupdf/openjpeg-2.1.1.patch deleted file mode 100644 index 80288f5378..0000000000 --- a/main/mupdf/openjpeg-2.1.1.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- mupdf-1.9a-source/source/fitz/load-jpx.c.orig -+++ mupdf-1.9a-source/source/fitz/load-jpx.c -@@ -1,15 +1,7 @@ - #include "mupdf/fitz.h" - --/* 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-2.1/openjpeg.h> - --#include <openjpeg.h> -- - static void fz_opj_error_callback(const char *msg, void *client_data) - { - fz_context *ctx = (fz_context *)client_data; -@@ -117,7 +109,7 @@ - opj_stream_set_read_function(stream, fz_opj_stream_read); - opj_stream_set_skip_function(stream, fz_opj_stream_skip); - opj_stream_set_seek_function(stream, fz_opj_stream_seek); -- opj_stream_set_user_data(stream, &sb); -+ opj_stream_set_user_data(stream, &sb, NULL); - /* Set the length to avoid an assert */ - opj_stream_set_user_data_length(stream, size); - |