From 08c2bd1d14e965a51db9d198ffe4fb306e0c368d Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Thu, 29 Aug 2013 17:47:49 +0200 Subject: misc/rsnapshot: Added a patch for perl 5.18.x. Signed-off-by: Matteo Bernardini --- misc/rsnapshot/patch_pod2man.diff | 12 ++++++++++++ misc/rsnapshot/rsnapshot.SlackBuild | 7 +++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 misc/rsnapshot/patch_pod2man.diff (limited to 'misc') 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 \ -- cgit v1.2.3