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

ntyni pushed a commit to branch master
in repository libmojomojo-perl.

commit 4fecefcac4ae6f1a019479989287dc343b30da95
Author: Niko Tyni <nt...@debian.org>
Date:   Sun Sep 6 13:49:52 2015 +0300

    Add patch to unbreak unicode.t with newer Catalyst versions
    
    This results in a changed t/var/mojomojo.yml, so add that
    to debian/clean.
---
 debian/clean                                       |  1 +
 ...ak-unicode.t-with-newer-Catalyst-versions.patch | 34 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 36 insertions(+)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..d13e9e4
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+t/var/mojomojo.yml
diff --git 
a/debian/patches/0001-Unbreak-unicode.t-with-newer-Catalyst-versions.patch 
b/debian/patches/0001-Unbreak-unicode.t-with-newer-Catalyst-versions.patch
new file mode 100644
index 0000000..003bd6b
--- /dev/null
+++ b/debian/patches/0001-Unbreak-unicode.t-with-newer-Catalyst-versions.patch
@@ -0,0 +1,34 @@
+From 12ce7bb7b3dfb3b6e4caab40bb9d850f1e97735b Mon Sep 17 00:00:00 2001
+From: Niko Tyni <nt...@debian.org>
+Date: Sun, 6 Sep 2015 12:52:53 +0300
+Subject: [PATCH] Unbreak unicode.t with newer Catalyst versions
+
+From Catalyst-5.90079_001 Changes:
+
+- !!! UTF-8 is now the default encoding (there used to be none...).
+  You can disable this if you need to with MyApp->config(encoding =>
+  undef) if it causes you trouble.
+
+This breaks unicode.t tests 7-8. Explicitly unset the encoding
+as a fix/workaround.
+
+Bug-Debian: https://bugs.debian.org/791520
+---
+ t/lib/MojoMojoTestSchema.pm | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/t/lib/MojoMojoTestSchema.pm b/t/lib/MojoMojoTestSchema.pm
+index 785061f..b0b53a4 100644
+--- a/t/lib/MojoMojoTestSchema.pm
++++ b/t/lib/MojoMojoTestSchema.pm
+@@ -124,6 +124,7 @@ sub init_schema {
+             view_allowed             => 1,
+             attachment_allowed       => 0,
+         },
++        'encoding' => undef,
+         'View::Email' => { sender => { mailer => 'Test' } },
+         'system_mail' => 'admin@localhost',
+     };
+-- 
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d6d0150
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Unbreak-unicode.t-with-newer-Catalyst-versions.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libmojomojo-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