[padre] 02/04: Add patch to fix precedence issue warning.

gregor herrmann gregoa at debian.org
Sat Aug 30 19:44:44 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository padre.

commit 0f2619e77fbd4d762d27b2a2c7e3da58ffc7ea17
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Aug 30 12:31:27 2014 -0700

    Add patch to fix precedence issue warning.
    
    Cf. #759838
---
 debian/patches/precedence.patch | 21 +++++++++++++++++++++
 debian/patches/series           |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/precedence.patch b/debian/patches/precedence.patch
new file mode 100644
index 0000000..f4b7201
--- /dev/null
+++ b/debian/patches/precedence.patch
@@ -0,0 +1,21 @@
+Description: fix "Possible precedence issue with control flow operator"
+ which causes a test failure
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/759838
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2014-08-30
+
+--- a/lib/Padre/Document/Perl/QuickFix/StrictWarnings.pm
++++ b/lib/Padre/Document/Perl/QuickFix/StrictWarnings.pm
+@@ -67,8 +67,8 @@
+ 		# insert 'use strict; use warnings;' at the top
+ 		my $first = $doc->find_first(
+ 			sub {
+-				return $_[1]->isa('PPI::Statement')
+-					or $_[1]->isa('PPI::Structure');
++				return ( $_[1]->isa('PPI::Statement')
++					or $_[1]->isa('PPI::Structure') );
+ 			}
+ 		);
+ 		$replace = "use strict;\nuse warnings;\n";
diff --git a/debian/patches/series b/debian/patches/series
index 1e11337..f5dda7e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ example-interpreter.patch
 no-experimental.patch
 desktop-keywords.patch
 desktop-icon.patch
+precedence.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/padre.git



More information about the Pkg-perl-cvs-commits mailing list