aboutsummaryrefslogtreecommitdiff
path: root/graphics/hugin/hugin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/hugin/hugin.SlackBuild')
-rw-r--r--graphics/hugin/hugin.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/graphics/hugin/hugin.SlackBuild b/graphics/hugin/hugin.SlackBuild
index 735986b2e3d9c..70dd5f9571518 100644
--- a/graphics/hugin/hugin.SlackBuild
+++ b/graphics/hugin/hugin.SlackBuild
@@ -7,7 +7,7 @@
# Modified 2011 for version 2011.0.0 by titopoquito
# Modified 2012 for version 2011.4.0 by titopoquito
# Modified 2013 for version 2012.0.0 by titopoquito
-# Modified 2014 for version 2013.0.0 by titopoquito
+# Modified 2014 for version 2013.0.0 and 2014.0.0 by titopoquito
# (titopoquito@gmail.com)
#
# Redistribution and use of this script, with or without modification, is
@@ -28,7 +28,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hugin
-VERSION=${VERSION:-2013.0.0}
+VERSION=${VERSION:-2014.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,6 +67,13 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
+
+# make it compile with lensfun 0.3.0
+# taken from the gentoo-commits.gentoo.org
+# mailing list. Thanks to Francesco Riosa!
+# https://bugs.gentoo.org/show_bug.cgi?id=524700
+patch -p1 < $CWD/patch.lensfun-0.3.0
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \