1 |
xmw 14/08/25 09:38:00 |
2 |
|
3 |
Added: mupdf-1.5-openjpeg-2.1.patch |
4 |
Log: |
5 |
Fix for openjpeg-2.1 (bug 520774). |
6 |
|
7 |
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 62EEF090) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-text/mupdf/files/mupdf-1.5-openjpeg-2.1.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.5-openjpeg-2.1.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.5-openjpeg-2.1.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: mupdf-1.5-openjpeg-2.1.patch |
16 |
=================================================================== |
17 |
--- mupdf-1.5/source/fitz/load-jpx.c |
18 |
+++ mupdf-1.5/source/fitz/load-jpx.c |
19 |
@@ -116,7 +116,7 @@ |
20 |
opj_stream_set_read_function(stream, fz_opj_stream_read); |
21 |
opj_stream_set_skip_function(stream, fz_opj_stream_skip); |
22 |
opj_stream_set_seek_function(stream, fz_opj_stream_seek); |
23 |
- opj_stream_set_user_data(stream, &sb); |
24 |
+ opj_stream_set_user_data(stream, &sb, NULL); |
25 |
/* Set the length to avoid an assert */ |
26 |
opj_stream_set_user_data_length(stream, size); |