diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-09-19 16:32:55 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-09-19 16:47:18 +0300 |
commit | c08a84186f7f0145aebc063606bd654fea3efcf9 (patch) | |
tree | 900dedd09a4524fff7034ce684ff3dd3e0de871d /pkgs/development/perl-modules/dbiclassx-fix.patch | |
parent | 9c2e6faf1ff58f73189bb04d1422ea4dd30d6f01 (diff) | |
download | nixlib-c08a84186f7f0145aebc063606bd654fea3efcf9.tar nixlib-c08a84186f7f0145aebc063606bd654fea3efcf9.tar.gz nixlib-c08a84186f7f0145aebc063606bd654fea3efcf9.tar.bz2 nixlib-c08a84186f7f0145aebc063606bd654fea3efcf9.tar.lz nixlib-c08a84186f7f0145aebc063606bd654fea3efcf9.tar.xz nixlib-c08a84186f7f0145aebc063606bd654fea3efcf9.tar.zst nixlib-c08a84186f7f0145aebc063606bd654fea3efcf9.zip |
perlPackages.DBIxClass: Add upstream patch to fix build
Apply an upstream commit destined for next release like Debian is doing: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835731 Should fix http://hydra.nixos.org/build/40815848
Diffstat (limited to 'pkgs/development/perl-modules/dbiclassx-fix.patch')
-rw-r--r-- | pkgs/development/perl-modules/dbiclassx-fix.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/perl-modules/dbiclassx-fix.patch b/pkgs/development/perl-modules/dbiclassx-fix.patch new file mode 100644 index 000000000000..a46ffaa7bd9e --- /dev/null +++ b/pkgs/development/perl-modules/dbiclassx-fix.patch @@ -0,0 +1,24 @@ +From adcc1df0049e0093cb94c867bd2be8c9fe242a61 Mon Sep 17 00:00:00 2001 +From: Peter Rabbitson <ribasushi@cpan.org> +Date: Tue, 13 Sep 2016 17:15:48 +0200 +Subject: [PATCH] Fix for upcoming (not yet available via DBD::SQLite) + libsqlite version + +--- + Changes | 2 ++ + t/prefetch/grouped.t | 2 +- + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/t/prefetch/grouped.t b/t/prefetch/grouped.t +index 4aad6b1..c0d2224 100644 +--- a/t/prefetch/grouped.t ++++ b/t/prefetch/grouped.t +@@ -101,7 +101,7 @@ my @cdids = sort $cd_rs->get_column ('cdid')->all; + + # 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', + }); |