diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2014-08-04 20:19:28 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2014-08-04 20:19:28 +0000 |
commit | d9d7c9a7b90be0f595d929bd412006b76c98fb16 (patch) | |
tree | 774d839d5d044c66a5331014fbe3be10add31f54 /graphics/mupdf/files/patch-source__fitz__load-jpx.c | |
parent | Update to the 20140803 snapshot of GCC 4.10. (diff) |
graphics/mupdf: 1.2 -> 1.5
- For changes since 1.2 see http://www.mupdf.com/news
- new maintainer: Zsolt Udvari
PR: 184335
Submitted by: Zsolt Udvari <udvzsolt@gmail.com>
Approved by: lichray@gmail.com (maintainer timeout)
Diffstat (limited to 'graphics/mupdf/files/patch-source__fitz__load-jpx.c')
-rw-r--r-- | graphics/mupdf/files/patch-source__fitz__load-jpx.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/mupdf/files/patch-source__fitz__load-jpx.c b/graphics/mupdf/files/patch-source__fitz__load-jpx.c new file mode 100644 index 000000000000..befed22f76d4 --- /dev/null +++ b/graphics/mupdf/files/patch-source__fitz__load-jpx.c @@ -0,0 +1,20 @@ +--- ./source/fitz/load-jpx.c.orig 2014-06-10 17:09:28.000000000 +0200 ++++ ./source/fitz/load-jpx.c 2014-08-04 18:51:45.000000000 +0200 +@@ -8,7 +8,7 @@ + #define OPJ_HAVE_STDINT_H + #endif + +-#include <openjpeg.h> ++#include <openjpeg-2.1/openjpeg.h> + + static void fz_opj_error_callback(const char *msg, void *client_data) + { +@@ -116,7 +116,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); + |