From 6089bbf5ee5de81ef5b95d2b1d35eed647ca0b88 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Thu, 7 Nov 2013 00:08:19 -0600 Subject: graphics/hugin: Fix pod encoding for Perl 5.18 Signed-off-by: Robby Workman --- graphics/hugin/fix-pod-encoding-for-perl-518.diff | 8 ++++++++ graphics/hugin/hugin.SlackBuild | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 graphics/hugin/fix-pod-encoding-for-perl-518.diff (limited to 'graphics/hugin') 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" \ -- cgit v1.2.3