From 07ba3535d053f2fbc1ca367a03457e8943089231 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 26 Aug 2018 01:59:37 +0200 Subject: [PATCH] media-libs/assimp: Disable pointless test Closes: https://bugs.gentoo.org/659122 Package-Manager: Portage-2.3.48, Repoman-2.3.10 --- media-libs/assimp/assimp-4.0.1.ebuild | 1 + media-libs/assimp/files/assimp-4.0.1-disabletest.patch | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 media-libs/assimp/files/assimp-4.0.1-disabletest.patch 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 ); +-} +- -- 2.26.2