aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-09-15 02:18:20 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-19 19:49:19 +0700
commit10d948d61887bf64268a27eee776b485d711696e (patch)
tree8eeabc1e3313f586b7f4aeff0d6987df229faa9c /office
parent148c9aaf51e171b33c23c12e3e65e03f099bce78 (diff)
office/mupdf: Fix build with jbig2dec-0.12
Diffstat (limited to 'office')
-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 57c2a7627f0f..5f228359ad2b 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 \