aboutsummaryrefslogtreecommitdiff
path: root/libraries/jbig2dec/jbig2dec.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/jbig2dec/jbig2dec.SlackBuild')
-rw-r--r--libraries/jbig2dec/jbig2dec.SlackBuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/libraries/jbig2dec/jbig2dec.SlackBuild b/libraries/jbig2dec/jbig2dec.SlackBuild
index 93874c7ae9f06..bf0af26bb4e44 100644
--- a/libraries/jbig2dec/jbig2dec.SlackBuild
+++ b/libraries/jbig2dec/jbig2dec.SlackBuild
@@ -10,8 +10,11 @@
# - Use 'make install-strip'
# - Added 'how to edit' stuff to slack-desc
+# 20150915 bkw:
+# - update for v0.12
+
PRGNAM=jbig2dec
-VERSION=${VERSION:-0.11}
+VERSION=${VERSION:-0.12}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -57,6 +60,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# patch from here: http://git.ghostscript.com/?p=jbig2dec.git;a=patch;h=70c7f1967f43a94f9f0d6808d6ab5700a120d2fc
+# ...but modified to affect libpng-1.4 also.
+patch -p1 < $CWD/newlibpng.diff
+
+autoreconf -if
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \