summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/mupdf/mupdf.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/office/mupdf/mupdf.SlackBuild b/office/mupdf/mupdf.SlackBuild
index 57c2a7627f..5f228359ad 100644
--- a/office/mupdf/mupdf.SlackBuild
+++ b/office/mupdf/mupdf.SlackBuild
@@ -5,6 +5,9 @@
# Originally written by Hubert Hesse (slackbuilds@hubertscorner.de).
# Heavily modified by B. Watson (yalhcru@gmail.com).
+# 20150915 bkw BUILD=2:
+# - add -DJBIG_NO_MEMENTO, needed for building with jbig2dec-0.12.
+
# 20150511 bkw:
# - version bump to 1.7a.
# - remembered to reset BUILD to 1, yay.
@@ -69,7 +72,7 @@
PRGNAM=mupdf
VERSION=${VERSION:-1.7a}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -144,7 +147,7 @@ sed -i 's,libopenjpeg1,libopenjp2,g' Makerules
# it and spewing harmless but scary 'fatal: Not a git repository' errors.
sed -i "/^VERSION/s,=.*,= $VERSION," Makefile
-make build=release prefix=/usr XCFLAGS="$SLKCFLAGS"
+make build=release prefix=/usr XCFLAGS="$SLKCFLAGS -DJBIG_NO_MEMENTO"
make \
build=release \
prefix=/usr \