From: Andreas Sturmlechner Date: Sat, 25 Aug 2018 23:59:37 +0000 (+0200) Subject: media-libs/assimp: Disable pointless test X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=07ba3535d053f2fbc1ca367a03457e8943089231;p=gentoo.git media-libs/assimp: Disable pointless test Closes: https://bugs.gentoo.org/659122 Package-Manager: Portage-2.3.48, Repoman-2.3.10 --- diff --git a/media-libs/assimp/assimp-4.0.1.ebuild b/media-libs/assimp/assimp-4.0.1.ebuild index c3bb59596e50..8bd32676885e 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 000000000000..4afe5bbd26ba --- /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 ); +-} +-