1 |
commit: 07ba3535d053f2fbc1ca367a03457e8943089231 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 25 23:59:37 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 26 00:00:38 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07ba3535 |
7 |
|
8 |
media-libs/assimp: Disable pointless test |
9 |
|
10 |
Closes: https://bugs.gentoo.org/659122 |
11 |
Package-Manager: Portage-2.3.48, Repoman-2.3.10 |
12 |
|
13 |
media-libs/assimp/assimp-4.0.1.ebuild | 1 + |
14 |
media-libs/assimp/files/assimp-4.0.1-disabletest.patch | 10 ++++++++++ |
15 |
2 files changed, 11 insertions(+) |
16 |
|
17 |
diff --git a/media-libs/assimp/assimp-4.0.1.ebuild b/media-libs/assimp/assimp-4.0.1.ebuild |
18 |
index c3bb59596e5..8bd32676885 100644 |
19 |
--- a/media-libs/assimp/assimp-4.0.1.ebuild |
20 |
+++ b/media-libs/assimp/assimp-4.0.1.ebuild |
21 |
@@ -38,6 +38,7 @@ DEPEND="${RDEPEND} |
22 |
PATCHES=( |
23 |
"${FILESDIR}/findassimp-3.3.1.patch" |
24 |
"${FILESDIR}/${P}-qt-5.11.0.patch" |
25 |
+ "${FILESDIR}/${P}-disabletest.patch" # bug 659122 |
26 |
) |
27 |
|
28 |
src_configure() { |
29 |
|
30 |
diff --git a/media-libs/assimp/files/assimp-4.0.1-disabletest.patch b/media-libs/assimp/files/assimp-4.0.1-disabletest.patch |
31 |
new file mode 100644 |
32 |
index 00000000000..4afe5bbd26b |
33 |
--- /dev/null |
34 |
+++ b/media-libs/assimp/files/assimp-4.0.1-disabletest.patch |
35 |
@@ -0,0 +1,10 @@ |
36 |
+--- a/test/unit/utVersion.cpp 2017-07-28 22:33:41.000000000 +0200 |
37 |
++++ b/test/unit/utVersion.cpp 2018-08-26 01:48:54.935116440 +0200 |
38 |
+@@ -65,7 +65,3 @@ |
39 |
+ EXPECT_NE( aiGetCompileFlags(), 0U ); |
40 |
+ } |
41 |
+ |
42 |
+-TEST_F( utVersion, aiGetVersionRevisionTest ) { |
43 |
+- EXPECT_NE( aiGetVersionRevision(), 0U ); |
44 |
+-} |
45 |
+- |