graphics/hugin: Fix pod encoding for Perl 5.18

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
David Spencer 2013-11-07 00:08:19 -06:00 committed by Robby Workman
parent 687009b709
commit 6089bbf5ee
2 changed files with 13 additions and 1 deletions

View file

@ -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

View file

@ -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" \