diff options
Diffstat (limited to 'media-libs/assimp/files/assimp-5.0.1-fix-unittests.patch')
-rw-r--r-- | media-libs/assimp/files/assimp-5.0.1-fix-unittests.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/media-libs/assimp/files/assimp-5.0.1-fix-unittests.patch b/media-libs/assimp/files/assimp-5.0.1-fix-unittests.patch new file mode 100644 index 000000000000..1b1efa027427 --- /dev/null +++ b/media-libs/assimp/files/assimp-5.0.1-fix-unittests.patch @@ -0,0 +1,37 @@ +From ecd413c86c031900832028c94c0d55488cf26a0a Mon Sep 17 00:00:00 2001 +From: Kim Kulling <kimkulling@users.noreply.github.com> +Date: Sun, 6 Oct 2019 20:19:59 +0200 +Subject: [PATCH] Update utVersion.cpp + +Fix the unittests as well. +--- + test/unit/utVersion.cpp | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/test/unit/utVersion.cpp b/test/unit/utVersion.cpp +index 5cfc91ccdd..233b2fb0b2 100644 +--- a/test/unit/utVersion.cpp ++++ b/test/unit/utVersion.cpp +@@ -4,8 +4,6 @@ Open Asset Import Library (assimp) + + Copyright (c) 2006-2019, assimp team + +- +- + All rights reserved. + + Redistribution and use of this software in source and binary forms, +@@ -55,11 +53,11 @@ TEST_F( utVersion, aiGetLegalStringTest ) { + } + + TEST_F( utVersion, aiGetVersionMinorTest ) { +- EXPECT_EQ( aiGetVersionMinor(), 1U ); ++ EXPECT_EQ( aiGetVersionMinor(), 0U ); + } + + TEST_F( utVersion, aiGetVersionMajorTest ) { +- EXPECT_EQ( aiGetVersionMajor(), 4U ); ++ EXPECT_EQ( aiGetVersionMajor(), 5U ); + } + + TEST_F( utVersion, aiGetCompileFlagsTest ) { |