summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-24 14:48:40 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-24 14:48:40 +0000
commiteb97edc2cc4492c50c07b824703a1a9bb5853c87 (patch)
tree1d820f94376e2120a3f980312d417542819ec6ae /dev-db
parentStable on alpha, bug #288699 (diff)
downloadgentoo-2-eb97edc2cc4492c50c07b824703a1a9bb5853c87.tar.gz
gentoo-2-eb97edc2cc4492c50c07b824703a1a9bb5853c87.tar.bz2
gentoo-2-eb97edc2cc4492c50c07b824703a1a9bb5853c87.zip
Fix tests from icu.test.
(Portage version: 14724-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/sqlite/ChangeLog6
-rw-r--r--dev-db/sqlite/files/sqlite-3.6.19-icu.test.patch19
-rw-r--r--dev-db/sqlite/sqlite-3.6.19.ebuild4
3 files changed, 27 insertions, 2 deletions
diff --git a/dev-db/sqlite/ChangeLog b/dev-db/sqlite/ChangeLog
index c2489d78352a..06db8409d521 100644
--- a/dev-db/sqlite/ChangeLog
+++ b/dev-db/sqlite/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-db/sqlite
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.283 2009/10/24 14:02:59 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.284 2009/10/24 14:48:40 arfrever Exp $
+
+ 24 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ sqlite-3.6.19.ebuild, +files/sqlite-3.6.19-icu.test.patch:
+ Fix tests from icu.test.
24 Oct 2009; nixnut <nixnut@gentoo.org> sqlite-3.6.18.ebuild:
ppc stable #289415
diff --git a/dev-db/sqlite/files/sqlite-3.6.19-icu.test.patch b/dev-db/sqlite/files/sqlite-3.6.19-icu.test.patch
new file mode 100644
index 000000000000..414e5747bf2f
--- /dev/null
+++ b/dev-db/sqlite/files/sqlite-3.6.19-icu.test.patch
@@ -0,0 +1,19 @@
+http://www.sqlite.org/cvstrac/tktview?tn=4042
+
+--- test/icu.test
++++ test/icu.test
+@@ -26,12 +26,12 @@
+ execsql {INSERT INTO test1 VALUES(1,2,1.1,2.2,'hello','world')}
+ proc test_expr {name settings expr result} {
+ do_test $name [format {
+- db one {
++ lindex [db eval {
+ BEGIN;
+ UPDATE test1 SET %s;
+ SELECT %s FROM test1;
+ ROLLBACK;
+- }
++ }] 0
+ } $settings $expr] $result
+ }
+
diff --git a/dev-db/sqlite/sqlite-3.6.19.ebuild b/dev-db/sqlite/sqlite-3.6.19.ebuild
index 119b4e234831..dac465e4545f 100644
--- a/dev-db/sqlite/sqlite-3.6.19.ebuild
+++ b/dev-db/sqlite/sqlite-3.6.19.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.19.ebuild,v 1.1 2009/10/17 01:45:27 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.19.ebuild,v 1.2 2009/10/24 14:48:40 arfrever Exp $
EAPI="2"
@@ -43,6 +43,8 @@ src_prepare() {
rm -f test/like.test
fi
+ epatch "${FILESDIR}/${P}-icu.test.patch"
+
epunt_cxx
}