summaryrefslogtreecommitdiff
path: root/graphics/hugin
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2013-11-07 00:08:19 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-11-07 00:08:19 -0600
commit6089bbf5ee5de81ef5b95d2b1d35eed647ca0b88 (patch)
tree25f6bc4e7c6af20a5ecfa0f8d2779cc41f43868a /graphics/hugin
parent687009b709e33e0945c9db94bc17d2c77378dfcc (diff)
downloadslackbuilds-6089bbf5ee5de81ef5b95d2b1d35eed647ca0b88.tar.gz
graphics/hugin: Fix pod encoding for Perl 5.18
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/hugin')
-rw-r--r--graphics/hugin/fix-pod-encoding-for-perl-518.diff8
-rw-r--r--graphics/hugin/hugin.SlackBuild6
2 files changed, 13 insertions, 1 deletions
diff --git a/graphics/hugin/fix-pod-encoding-for-perl-518.diff b/graphics/hugin/fix-pod-encoding-for-perl-518.diff
new file mode 100644
index 0000000000..af1df064e7
--- /dev/null
+++ b/graphics/hugin/fix-pod-encoding-for-perl-518.diff
@@ -0,0 +1,8 @@
+--- a/doc/deghosting_mask.pod
++++ b/doc/deghosting_mask.pod
+@@ -1,3 +1,5 @@
++=encoding utf8
++
+ =head1 NAME
+
+ deghosting_mask - Creates mask for removing ghosting in images
diff --git a/graphics/hugin/hugin.SlackBuild b/graphics/hugin/hugin.SlackBuild
index 4e494ab965..d21a0c4994 100644
--- a/graphics/hugin/hugin.SlackBuild
+++ b/graphics/hugin/hugin.SlackBuild
@@ -28,7 +28,7 @@
PRGNAM=hugin
VERSION=2012.0.0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,10 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Fix pod encoding for Perl 5.18
+# http://sourceforge.net/p/hugin/hugin/ci/aae44c4b0570e2cfc609e84d6e74d38a31453b73/
+patch -p1 < $CWD/fix-pod-encoding-for-perl-518.diff
+
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \