summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/mupdf/files/mupdf-1.3-openjpeg2.patch')
-rw-r--r--app-text/mupdf/files/mupdf-1.3-openjpeg2.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-text/mupdf/files/mupdf-1.3-openjpeg2.patch b/app-text/mupdf/files/mupdf-1.3-openjpeg2.patch
new file mode 100644
index 000000000000..789e4420c374
--- /dev/null
+++ b/app-text/mupdf/files/mupdf-1.3-openjpeg2.patch
@@ -0,0 +1,15 @@
+http://bugs.ghostscript.com/show_bug.cgi?id=693518
+
+--- mupdf-1.3/Makerules
++++ mupdf-1.3/Makerules
+@@ -52,8 +52,8 @@
+
+ SYS_FREETYPE_CFLAGS = $(shell pkg-config --cflags freetype2)
+ SYS_FREETYPE_LIBS = $(shell pkg-config --libs freetype2)
+-SYS_OPENJPEG_CFLAGS = $(shell pkg-config --cflags libopenjpeg1)
+-SYS_OPENJPEG_LIBS = $(shell pkg-config --libs libopenjpeg1)
++SYS_OPENJPEG_CFLAGS = $(shell pkg-config --cflags libopenjp2)
++SYS_OPENJPEG_LIBS = $(shell pkg-config --libs libopenjp2)
+ SYS_JBIG2DEC_LIBS = -ljbig2dec
+ SYS_JPEG_LIBS = -ljpeg
+ SYS_ZLIB_LIBS = -lz