From 10d948d61887bf64268a27eee776b485d711696e Mon Sep 17 00:00:00 2001 From: B. Watson Date: Tue, 15 Sep 2015 02:18:20 -0400 Subject: office/mupdf: Fix build with jbig2dec-0.12 --- office/mupdf/mupdf.SlackBuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'office') 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 \ -- cgit v1.2.3