]> git.pld-linux.org Git - packages/mupdf.git/blobdiff - mupdf-openjpeg.patch
- rel 3; build with new openjpeg2
[packages/mupdf.git] / mupdf-openjpeg.patch
index cda593596a35017bf8b67142bbb56d71c7f78b9c..7f83cba303f6c601a9b26f3ebdc00c03a3cb78af 100644 (file)
  SYS_JBIG2DEC_LIBS = -ljbig2dec
  SYS_JPEG_LIBS = -ljpeg
  SYS_ZLIB_LIBS = -lz
+--- mupdf-1.3-source/source/fitz/load-jpx.c~   2013-08-14 14:41:20.000000000 +0200
++++ mupdf-1.3-source/source/fitz/load-jpx.c    2014-11-04 22:47:25.217970803 +0100
+@@ -117,7 +117,7 @@
+       opj_stream_set_read_function(stream, stream_read);
+       opj_stream_set_skip_function(stream, stream_skip);
+       opj_stream_set_seek_function(stream, 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);
This page took 0.068488 seconds and 4 git commands to generate.