summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortitopoquito <titopoquito@googlemail.com>2012-01-06 06:42:58 -0600
committerErik Hanson <erik@slackbuilds.org>2012-01-06 06:42:58 -0600
commit3d1a478b1d4332b7f8bc2591bd4602973f37090d (patch)
treeecb77cb99c0fa4918334406b31cfe31f2ce64a86
parenteda64e03b6a029a937a2e30a27408e95ef1583d7 (diff)
downloadslackbuilds-3d1a478b1d4332b7f8bc2591bd4602973f37090d.tar.gz
graphics/enblend-enfuse: Updated for version 4.0.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-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"