summaryrefslogtreecommitdiff
path: root/graphics/enblend-enfuse
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/enblend-enfuse')
-rw-r--r--graphics/enblend-enfuse/enblend-enfuse.SlackBuild11
-rw-r--r--graphics/enblend-enfuse/enblend-enfuse.info2
2 files changed, 12 insertions, 1 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 \
diff --git a/graphics/enblend-enfuse/enblend-enfuse.info b/graphics/enblend-enfuse/enblend-enfuse.info
index 8eaffcd739..2bbb4df712 100644
--- a/graphics/enblend-enfuse/enblend-enfuse.info
+++ b/graphics/enblend-enfuse/enblend-enfuse.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="titopoquito"
EMAIL="titopoquito@googlemail.com"
-APPROVED="rworkman"
+APPROVED="rworkman,Erik Hanson"