1 |
commit: 4ab48e6c1f373ae3f56773a1b9fc31845576d705 |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Thu Sep 28 15:40:27 2017 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 28 17:10:59 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ab48e6c |
7 |
|
8 |
dev-db/sqlite: Disable tests broken on x86 (bug #628242). |
9 |
|
10 |
dev-db/sqlite/sqlite-3.20.1-r1.ebuild | 12 ++++++++++++ |
11 |
1 file changed, 12 insertions(+) |
12 |
|
13 |
diff --git a/dev-db/sqlite/sqlite-3.20.1-r1.ebuild b/dev-db/sqlite/sqlite-3.20.1-r1.ebuild |
14 |
index 137b7b0eeb2..6b547ffb208 100644 |
15 |
--- a/dev-db/sqlite/sqlite-3.20.1-r1.ebuild |
16 |
+++ b/dev-db/sqlite/sqlite-3.20.1-r1.ebuild |
17 |
@@ -74,6 +74,18 @@ src_prepare() { |
18 |
eautoreconf |
19 |
|
20 |
multilib_copy_sources |
21 |
+ |
22 |
+ preparation() { |
23 |
+ pushd "${BUILD_DIR}" > /dev/null || die |
24 |
+ |
25 |
+ if [[ "${ABI}" == "x86" ]]; then |
26 |
+ # Disable tests broken on x86. |
27 |
+ sed -e "/^for {set i 0} {\$i<1000} {incr i} {$/,/^}$/d" -i test/date.test || die "sed failed" |
28 |
+ fi |
29 |
+ |
30 |
+ popd > /dev/null || die |
31 |
+ } |
32 |
+ multilib_foreach_abi preparation |
33 |
} |
34 |
|
35 |
multilib_src_configure() { |