summaryrefslogtreecommitdiff
path: root/office/mupdf/openjpeg-2.1-api-change.diff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-08-22 17:36:38 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-22 17:36:38 +0700
commitce1935d000d71358446aa46f328d6ab8d92ec0ff (patch)
treed803da9f15006dba53b0a4f78369a958d90d3e19 /office/mupdf/openjpeg-2.1-api-change.diff
parent539b2ab872f087792072dd0f322ecf8f78325e3c (diff)
downloadslackbuilds-ce1935d000d71358446aa46f328d6ab8d92ec0ff.tar.gz
office/mupdf: Updated for version 1.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/mupdf/openjpeg-2.1-api-change.diff')
-rw-r--r--office/mupdf/openjpeg-2.1-api-change.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/office/mupdf/openjpeg-2.1-api-change.diff b/office/mupdf/openjpeg-2.1-api-change.diff
new file mode 100644
index 0000000000..e6edc79985
--- /dev/null
+++ b/office/mupdf/openjpeg-2.1-api-change.diff
@@ -0,0 +1,13 @@
+diff -Naur mupdf-1.5-source/source/fitz/load-jpx.c mupdf-1.5-source.patched/source/fitz/load-jpx.c
+--- mupdf-1.5-source/source/fitz/load-jpx.c 2014-06-10 11:09:28.000000000 -0400
++++ mupdf-1.5-source.patched/source/fitz/load-jpx.c 2014-08-21 23:49:21.000000000 -0400
+@@ -116,7 +116,8 @@
+ 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);
+