summaryrefslogtreecommitdiff
path: root/graphics/enblend-enfuse/enblend-enfuse.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/enblend-enfuse/enblend-enfuse.SlackBuild')
-rw-r--r--graphics/enblend-enfuse/enblend-enfuse.SlackBuild11
1 files changed, 11 insertions, 0 deletions
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 \