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

kanashiro-guest pushed a commit to branch master
in repository libevent-perl.

commit 02a6bb1d40d8b78a483e4c0ff8ced3f567292e70
Author: Lucas Kanashiro <kanashiro.dua...@gmail.com>
Date:   Fri Jul 24 13:26:04 2015 -0300

    debian/patch: add fix_bareword_not_allowed.patch
    
    Fix autopkgtest-pkg-perl tests
---
 debian/changelog                              |  2 ++
 debian/patches/fix_bareword_not_allowed.patch | 17 +++++++++++++++++
 debian/patches/series                         |  1 +
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 29ce5e9..f967fc0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ libevent-perl (1.24-1) UNRELEASED; urgency=medium
   * debian/control:
     - bump Standars-Version to 3.9.6
     - add test suite with autopkgtest-pkg-perl
+  * debian/patch: add fix_bareword_not_allowed.patch (fix
+    autopkgtest-pkg-perl tests)
 
  -- Lucas Kanashiro <kanashiro.dua...@gmail.com>  Fri, 24 Jul 2015 12:26:40 
-0300
 
diff --git a/debian/patches/fix_bareword_not_allowed.patch 
b/debian/patches/fix_bareword_not_allowed.patch
new file mode 100644
index 0000000..63b937a
--- /dev/null
+++ b/debian/patches/fix_bareword_not_allowed.patch
@@ -0,0 +1,17 @@
+Description: Fix bareword not allowed error
+ Just add the parenthesis to fix bareword
+Author: Lucas Kanashiro <kanashiro.dua...@gmail.com>
+Forworded: https://github.com/mohawk2/cpan-Event/pull/3
+Last-Update: 2015-07-24
+
+--- a/lib/Event/Watcher.pm
++++ b/lib/Event/Watcher.pm
+@@ -52,7 +52,7 @@ sub init {
+     # set up prio
+     {
+       no strict 'refs';
+-      $o->prio($ { ref($o)."::DefaultPriority" } || Event::PRIO_NORMAL);
++      $o->prio($ { ref($o)."::DefaultPriority" } || Event::PRIO_NORMAL());
+       if (exists $arg->{nice}) {
+           $o->prio($o->prio + delete $arg->{nice});
+       }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f110704
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_bareword_not_allowed.patch

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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to