summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/mupdf/files/mupdf-1.2-pkg-config.patch')
-rw-r--r--app-text/mupdf/files/mupdf-1.2-pkg-config.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-text/mupdf/files/mupdf-1.2-pkg-config.patch b/app-text/mupdf/files/mupdf-1.2-pkg-config.patch
new file mode 100644
index 000000000000..2505a735b513
--- /dev/null
+++ b/app-text/mupdf/files/mupdf-1.2-pkg-config.patch
@@ -0,0 +1,17 @@
+no pkgconfig data for jbig2dec and jpeg
+http://bugs.ghostscript.com/show_bug.cgi?id=694301
+
+--- mupdf-1.2-source/debian/mupdf.pc
++++ mupdf-1.2-source/debian/mupdf.pc
+@@ -4,9 +4,8 @@
+ includedir=${prefix}/include
+
+ Name: mupdf
+ Description: Library for rendering PDF documents
+-Requires.private: freetype2
++Requires: freetype2 libopenjpeg1
+ Version: 0.5.0
+-Libs: -L${libdir} -lmupdf
++Libs: -L${libdir} -lfitz -ljpeg -ljbig2dec
+-Libs.private: -lopenjpeg -ljbig2dec -ljpeg -lz -lm
+ Cflags: -I${includedir}