7f83cba303f6c601a9b26f3ebdc00c03a3cb78af
[packages/mupdf.git] / mupdf-openjpeg.patch
1 --- mupdf-1.3-source/Makerules.orig     2013-08-14 14:41:20.000000000 +0200
2 +++ mupdf-1.3-source/Makerules  2013-11-01 20:36:24.832058539 +0100
3 @@ -62,8 +62,8 @@
4  
5  SYS_FREETYPE_CFLAGS = $(shell pkg-config --cflags freetype2)
6  SYS_FREETYPE_LIBS = $(shell pkg-config --libs freetype2)
7 -SYS_OPENJPEG_CFLAGS = $(shell pkg-config --cflags libopenjpeg1)
8 -SYS_OPENJPEG_LIBS = $(shell pkg-config --libs libopenjpeg1)
9 +SYS_OPENJPEG_CFLAGS = -I/usr/include/openjpeg-2.0
10 +SYS_OPENJPEG_LIBS = -lopenjp2
11  SYS_JBIG2DEC_LIBS = -ljbig2dec
12  SYS_JPEG_LIBS = -ljpeg
13  SYS_ZLIB_LIBS = -lz
14 --- mupdf-1.3-source/source/fitz/load-jpx.c~    2013-08-14 14:41:20.000000000 +0200
15 +++ mupdf-1.3-source/source/fitz/load-jpx.c     2014-11-04 22:47:25.217970803 +0100
16 @@ -117,7 +117,7 @@
17         opj_stream_set_read_function(stream, stream_read);
18         opj_stream_set_skip_function(stream, stream_skip);
19         opj_stream_set_seek_function(stream, stream_seek);
20 -       opj_stream_set_user_data(stream, &sb);
21 +       opj_stream_set_user_data(stream, &sb, NULL);
22         /* Set the length to avoid an assert */
23         opj_stream_set_user_data_length(stream, size);
24  
This page took 0.063776 seconds and 2 git commands to generate.