aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mupdf/mupdf-openjpeg-2.1.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-24 09:37:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-24 09:37:25 +0000
commit11758a6ad19a18f43e3150f66fca7cd9dca1375d (patch)
treecab37b708f30777036429110a277d67b11a6a01d /testing/mupdf/mupdf-openjpeg-2.1.patch
parent1102864f25df4572eb4835f14baa473f87f4305a (diff)
downloadaports-11758a6ad19a18f43e3150f66fca7cd9dca1375d.tar.bz2
aports-11758a6ad19a18f43e3150f66fca7cd9dca1375d.tar.xz
testing/mupdf: rebuild against openjpeg-2.1
use system libs by removing thirdparty dirs
Diffstat (limited to 'testing/mupdf/mupdf-openjpeg-2.1.patch')
-rw-r--r--testing/mupdf/mupdf-openjpeg-2.1.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/mupdf/mupdf-openjpeg-2.1.patch b/testing/mupdf/mupdf-openjpeg-2.1.patch
new file mode 100644
index 0000000000..70481400ed
--- /dev/null
+++ b/testing/mupdf/mupdf-openjpeg-2.1.patch
@@ -0,0 +1,11 @@
+--- mupdf-1.5/source/fitz/load-jpx.c
++++ mupdf-1.5/source/fitz/load-jpx.c
+@@ -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);
+