[libpackage-locator-perl] 05/06: Add patch to fix a precedence issue.
gregor herrmann
gregoa at debian.org
Fri May 29 16:08:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libpackage-locator-perl.
commit 2c31039509ee0bfa5dd4b6c2638538d66a66d427
Author: gregor herrmann <gregoa at debian.org>
Date: Fri May 29 18:07:06 2015 +0200
Add patch to fix a precedence issue.
---
debian/patches/precedence.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 19 insertions(+)
diff --git a/debian/patches/precedence.patch b/debian/patches/precedence.patch
new file mode 100644
index 0000000..0f53f40
--- /dev/null
+++ b/debian/patches/precedence.patch
@@ -0,0 +1,18 @@
+Description: fix warning "Possible precedence issue with control flow operator"
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-05-29
+Forwarded: https://github.com/thaljef/Package-Locator/issues/2
+Bug: https://github.com/thaljef/Package-Locator/issues/2
+
+--- a/lib/Package/Locator/Index.pm
++++ b/lib/Package/Locator/Index.pm
+@@ -185,7 +185,7 @@
+
+ return 1 if -e $dir;
+ $dir = dir($dir) unless eval { $dir->isa('Path::Class::Dir') };
+- return $dir->mkpath() or croak "Failed to make directory $dir: $!";
++ return $dir->mkpath() || croak "Failed to make directory $dir: $!";
+ }
+
+ #------------------------------------------------------------------------
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8536430
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+precedence.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpackage-locator-perl.git
More information about the Pkg-perl-cvs-commits
mailing list