summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" \