[arename] 01/03: Fix Perl warning "Possible precedence issue with control flow operator"
Axel Beckert
abe at deuxchevaux.org
Sat May 23 19:05:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository arename.
commit ac8cb93024f930ebf837ea7880ee5e46230f9814
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sat May 23 20:50:36 2015 +0200
Fix Perl warning "Possible precedence issue with control flow operator"
It causes as-installed testing to fail.
---
debian/changelog | 2 ++
...le-precedence-issue-with-control-flow-operator.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
3 files changed, 20 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index ca5a8be..8be3be7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,8 @@ arename (4.0-3) UNRELEASED; urgency=low
+ Fixing FTBFS if building from a git checkout with tags with slashes.
+ Show pod2man errors if there are any. Helps debugging build failures.
+ Not ignoring failures by scripts which are part of the build process.
+ + Fixing Perl warning "Possible precedence issue with control flow
+ operator" which causes as-installed testing to fail.
[ Salvatore Bonaccorso ]
* Update Vcs-Browser URL to cgit web frontend
diff --git a/debian/patches/possible-precedence-issue-with-control-flow-operator.patch b/debian/patches/possible-precedence-issue-with-control-flow-operator.patch
new file mode 100644
index 0000000..9c5d55b
--- /dev/null
+++ b/debian/patches/possible-precedence-issue-with-control-flow-operator.patch
@@ -0,0 +1,17 @@
+Description: Fix Perl warning "Possible precedence issue with control flow operator"
+ It causes as-installed testing to fail.
+Author: Axel Beckert <abe at debian.org>
+
+Index: arename/ARename.pm.in
+===================================================================
+--- arename.orig/ARename.pm.in 2015-05-23 18:24:17.799474077 +0200
++++ arename/ARename.pm.in 2015-05-23 20:00:13.262742652 +0200
+@@ -2941,7 +2941,7 @@
+ sub xcopy {
+ my ($src, $dest) = @_;
+
+- return copy($src, $dest) or croak("Could not copy($src, $dest): $ERRNO\n");
++ return copy($src, $dest) || croak("Could not copy($src, $dest): $ERRNO\n");
+ }
+
+ # {get,set}_opt() API
diff --git a/debian/patches/series b/debian/patches/series
index bc60dc5..597741c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ VERSION.patch
unsilent-pod2man.patch
cope-with-slashes-in-tag-names.patch
dont-ignore-gen-script-failures.patch
+possible-precedence-issue-with-control-flow-operator.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/arename.git
More information about the Pkg-perl-cvs-commits
mailing list