[libdatetime-timezone-perl] 08/09: Add patch to fix syntax errors in DateTime/TimeZone/Local/Android.pm.

gregor herrmann gregoa at debian.org
Wed Apr 29 19:20:29 UTC 2015


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

gregoa pushed a commit to branch master
in repository libdatetime-timezone-perl.

commit c25c01d4c7966019fe228234928b82484e764718
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Apr 29 21:14:47 2015 +0200

    Add patch to fix syntax errors in DateTime/TimeZone/Local/Android.pm.
---
 debian/patches/android-syntax.patch | 21 +++++++++++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/android-syntax.patch b/debian/patches/android-syntax.patch
new file mode 100644
index 0000000..356e9e2
--- /dev/null
+++ b/debian/patches/android-syntax.patch
@@ -0,0 +1,21 @@
+Description: fix syntax errors
+ detected by `perl -wc ./lib/DateTime/TimeZone/Local/Android.pm'
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-04-29
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=104105
+Bug: https://rt.cpan.org/Ticket/Display.html?id=104105
+
+--- a/lib/DateTime/TimeZone/Local/Android.pm
++++ b/lib/DateTime/TimeZone/Local/Android.pm
+@@ -33,8 +33,8 @@
+ sub FromDefault {
+     my $tz = try {
+         local $SIG{__DIE__};
+-        $tz = DateTime::TimeZone->new( name => 'UTC' );
+-    }
++        DateTime::TimeZone->new( name => 'UTC' );
++    };
+ 
+     return $tz if $tz;
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a76843f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+android-syntax.patch

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



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