graphics/enblend-enfuse: Updated for version 4.0.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
titopoquito 2012-01-06 06:42:58 -06:00 committed by Erik Hanson
parent eda64e03b6
commit 3d1a478b1d
2 changed files with 12 additions and 1 deletions

View file

@ -3,6 +3,7 @@
# Slackware build script for Enblend-Enfuse
#
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
# Copyright 2011 titopoquito (titopoquito@googlemail.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -67,6 +68,16 @@ chmod -R u+w,go+r-w,a-s .
patch -p1 < $CWD/libpng14-fix.diff
# Patch a possible bug that only occurs if
# the user has installed libjpeg-turbo.
# Upstream has already fixed this, but this
# bug is still present in the 4.0 tarball.
# See: http://old.nabble.com/Error-interpreting-JPEG-file-td31789059.html
# and https://bugs.launchpad.net/hugin/+bug/894287
# Since slackbuilds.org has a SlackBuild for
# libjpeg-turbo this looks like the safer way.
sed -i 's/info.arith_code = TRUE/info.arith_code = FALSE/' src/vigra_impex/jpeg.cxx
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
./configure \

View file

@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="titopoquito"
EMAIL="titopoquito@googlemail.com"
APPROVED="rworkman"
APPROVED="rworkman,Erik Hanson"