From 3d1a478b1d4332b7f8bc2591bd4602973f37090d Mon Sep 17 00:00:00 2001 From: titopoquito Date: Fri, 6 Jan 2012 06:42:58 -0600 Subject: graphics/enblend-enfuse: Updated for version 4.0. Signed-off-by: Erik Hanson --- graphics/enblend-enfuse/enblend-enfuse.SlackBuild | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'graphics/enblend-enfuse/enblend-enfuse.SlackBuild') diff --git a/graphics/enblend-enfuse/enblend-enfuse.SlackBuild b/graphics/enblend-enfuse/enblend-enfuse.SlackBuild index 60d90e0896..9a03c11ad1 100644 --- a/graphics/enblend-enfuse/enblend-enfuse.SlackBuild +++ b/graphics/enblend-enfuse/enblend-enfuse.SlackBuild @@ -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 \ -- cgit v1.2.3