summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-08-26 01:59:37 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-08-26 02:00:38 +0200
commit07ba3535d053f2fbc1ca367a03457e8943089231 (patch)
treecd4916d7b9c902f65bced56f5f4430f022318b99
parentsci-electronics/gwave: Drop 20120229 (r0) (diff)
downloadgentoo-07ba3535d053f2fbc1ca367a03457e8943089231.tar.gz
gentoo-07ba3535d053f2fbc1ca367a03457e8943089231.tar.bz2
gentoo-07ba3535d053f2fbc1ca367a03457e8943089231.zip
media-libs/assimp: Disable pointless test
Closes: https://bugs.gentoo.org/659122 Package-Manager: Portage-2.3.48, Repoman-2.3.10
-rw-r--r--media-libs/assimp/assimp-4.0.1.ebuild1
-rw-r--r--media-libs/assimp/files/assimp-4.0.1-disabletest.patch10
2 files changed, 11 insertions, 0 deletions
diff --git a/media-libs/assimp/assimp-4.0.1.ebuild b/media-libs/assimp/assimp-4.0.1.ebuild
index c3bb59596e5..8bd32676885 100644
--- a/media-libs/assimp/assimp-4.0.1.ebuild
+++ b/media-libs/assimp/assimp-4.0.1.ebuild
@@ -38,6 +38,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/findassimp-3.3.1.patch"
"${FILESDIR}/${P}-qt-5.11.0.patch"
+ "${FILESDIR}/${P}-disabletest.patch" # bug 659122
)
src_configure() {
diff --git a/media-libs/assimp/files/assimp-4.0.1-disabletest.patch b/media-libs/assimp/files/assimp-4.0.1-disabletest.patch
new file mode 100644
index 00000000000..4afe5bbd26b
--- /dev/null
+++ b/media-libs/assimp/files/assimp-4.0.1-disabletest.patch
@@ -0,0 +1,10 @@
+--- a/test/unit/utVersion.cpp 2017-07-28 22:33:41.000000000 +0200
++++ b/test/unit/utVersion.cpp 2018-08-26 01:48:54.935116440 +0200
+@@ -65,7 +65,3 @@
+ EXPECT_NE( aiGetCompileFlags(), 0U );
+ }
+
+-TEST_F( utVersion, aiGetVersionRevisionTest ) {
+- EXPECT_NE( aiGetVersionRevision(), 0U );
+-}
+-