diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-08-14 08:44:41 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-08-14 08:44:41 +0000 |
commit | 4a0c7b6fbb6fc800797350920d0567647a72a11c (patch) | |
tree | c57877599f054933842a59bb2cc3a33641463a20 /app-backup/flexbackup/files | |
parent | Respect LDFLAGS wrt bug 332475. Thanks to Diego for report. (diff) | |
download | gentoo-2-4a0c7b6fbb6fc800797350920d0567647a72a11c.tar.gz gentoo-2-4a0c7b6fbb6fc800797350920d0567647a72a11c.tar.bz2 gentoo-2-4a0c7b6fbb6fc800797350920d0567647a72a11c.zip |
Fix perl 5.12 deprecation warnings, thanks to John R. Graham for providing a patch in bug 331673.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'app-backup/flexbackup/files')
-rw-r--r-- | app-backup/flexbackup/files/flexbackup-1.2.1-perl-5.12-deprecation-warning.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-backup/flexbackup/files/flexbackup-1.2.1-perl-5.12-deprecation-warning.patch b/app-backup/flexbackup/files/flexbackup-1.2.1-perl-5.12-deprecation-warning.patch new file mode 100644 index 000000000000..760331c4ba6b --- /dev/null +++ b/app-backup/flexbackup/files/flexbackup-1.2.1-perl-5.12-deprecation-warning.patch @@ -0,0 +1,22 @@ +diff -ubB old/flexbackup new/flexbackup +--- old/flexbackup 2010-07-30 11:44:34.000000000 -0400 ++++ new/flexbackup 2010-07-30 11:46:03.000000000 -0400 +@@ -1050,7 +1050,7 @@ + } else { + $prunekey = $dir; + } +- if (defined(%{$::prune{$prunekey}})) { ++ if (%{$::prune{$prunekey}}) { + &log("| NOTE: \$prune is ignored for type=dump"); + } + +@@ -4882,7 +4882,7 @@ + $prunekey = $dir; + } + +- if (defined(%{$::prune{$prunekey}})) { ++ if (%{$::prune{$prunekey}}) { + my $rex; + # FreeBSD needs -E (above) and no backslashes around the (|) chars + if ($::uname =~ /FreeBSD/) { +Only in new/: flexbackup~ |