summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-08-29 17:47:49 +0200
committerRobby Workman <rworkman@slackbuilds.org>2013-11-06 00:56:31 -0600
commit08c2bd1d14e965a51db9d198ffe4fb306e0c368d (patch)
treea57aba59d8b0fff00eae13c474ba404466906998
parent0775a15e84212b4e8842fa46ce3832c2a8ce5a6e (diff)
downloadslackbuilds-08c2bd1d14e965a51db9d198ffe4fb306e0c368d.tar.gz
misc/rsnapshot: Added a patch for perl 5.18.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--misc/rsnapshot/patch_pod2man.diff12
-rw-r--r--misc/rsnapshot/rsnapshot.SlackBuild7
2 files changed, 17 insertions, 2 deletions
diff --git a/misc/rsnapshot/patch_pod2man.diff b/misc/rsnapshot/patch_pod2man.diff
new file mode 100644
index 0000000000..6d275d528d
--- /dev/null
+++ b/misc/rsnapshot/patch_pod2man.diff
@@ -0,0 +1,12 @@
+diff -up rsnapshot-1.3.1/rsnapshot-program.pl.pod2man rsnapshot-1.3.1/rsnapshot-program.pl
+--- rsnapshot-1.3.1/rsnapshot-program.pl.pod2man 2013-07-06 00:39:44.500520483 -0700
++++ rsnapshot-1.3.1/rsnapshot-program.pl 2013-07-06 00:43:17.696767540 -0700
+@@ -6666,6 +6666,8 @@ additional disk space will be taken up.
+
+ =back
+
++=back
++
+ Remember that tabs must separate all elements, and that
+ there must be a trailing slash on the end of every directory.
+
diff --git a/misc/rsnapshot/rsnapshot.SlackBuild b/misc/rsnapshot/rsnapshot.SlackBuild
index f13fe2f91e..c04388c059 100644
--- a/misc/rsnapshot/rsnapshot.SlackBuild
+++ b/misc/rsnapshot/rsnapshot.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for VDE2
+# Slackware build script for rsnapshot
# Copyright 2007-2008 Sean Donner (sean.donner@sbcglobal.net)
# All rights reserved.
@@ -24,7 +24,7 @@
PRGNAM=rsnapshot
VERSION=1.3.1
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -65,6 +65,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Fix for the newer pod2man
+patch -p1 < $CWD/patch_pod2man.diff
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \