[libdbix-class-perl] 01/02: Cherry-pick patch from upstream Git repo

gregor herrmann gregoa at debian.org
Tue Sep 13 17:25:56 UTC 2016


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

gregoa pushed a commit to branch master
in repository libdbix-class-perl.

commit c7f237f72a1694e2c0a97177faad53528cee50cd
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Sep 13 19:15:17 2016 +0200

    Cherry-pick patch from upstream Git repo
    
    to fix test failure caused by newer libsqlite.
    
    Closes: #835731
---
 ...oming-not-yet-available-via-DBD-SQLite-li.patch | 23 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/0001-Fix-for-upcoming-not-yet-available-via-DBD-SQLite-li.patch b/debian/patches/0001-Fix-for-upcoming-not-yet-available-via-DBD-SQLite-li.patch
new file mode 100644
index 0000000..fcadbe6
--- /dev/null
+++ b/debian/patches/0001-Fix-for-upcoming-not-yet-available-via-DBD-SQLite-li.patch
@@ -0,0 +1,23 @@
+From adcc1df0049e0093cb94c867bd2be8c9fe242a61 Mon Sep 17 00:00:00 2001
+From: Peter Rabbitson <ribasushi at cpan.org>
+Date: Tue, 13 Sep 2016 17:15:48 +0200
+Subject: [PATCH] Fix for upcoming (not yet available via DBD::SQLite)
+ libsqlite version
+ .
+ - Fix missing ORDER BY leading to failures of t/prefetch/grouped.t
+   under upcoming libsqlite (RT#117271)
+Bug-Debian: https://bugs.debian.org/835731
+Bug: https://rt.cpan.org/Ticket/Display.html?id=117271
+
+
+--- a/t/prefetch/grouped.t
++++ b/t/prefetch/grouped.t
+@@ -100,7 +100,7 @@
+ 
+   # add an extra track to one of the cds, and then make sure we can get it on top
+   # (check if limit works)
+-  my $top_cd = $cd_rs->slice (1,1)->next;
++  my $top_cd = $cd_rs->search({}, { order_by => 'cdid' })->slice (1,1)->next;
+   $top_cd->create_related ('tracks', {
+     title => 'over the top',
+   });
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b38c370
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-for-upcoming-not-yet-available-via-DBD-SQLite-li.patch

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



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