[PATCH v2] assimp: upgrade to latest master to fix GCC 16 build failure

Ashwin Prabhakar <[email protected]>
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
Update SRCREV to include upstream commit 3edb90201 ("Fix two compiler
warnings (#6669)") which removes an unused variable 'qu' in
MS3DLoader.cpp that triggers -Werror=unused-but-set-variable with
GCC 16. Also drop -DASSIMP_WARNINGS_AS_ERRORS=OFF as it is no longer
needed with the source fix in place.

Signed-off-by: Ashwin Prabhakar <[email protected]>
---
 meta-oe/recipes-graphics/assimp/assimp_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-oe/recipes-graphics/assimp/assimp_git.bb b/meta-oe/recipes-graphics/assimp/assimp_git.bb
index 4cf2d1f787..b2d7a573de 100644
--- a/meta-oe/recipes-graphics/assimp/assimp_git.bb
+++ b/meta-oe/recipes-graphics/assimp/assimp_git.bb
@@ -11,7 +11,7 @@ DEPENDS = "zlib"
 
 SRC_URI = "git://github.com/assimp/assimp.git;protocol=https;branch=master"
 
-SRCREV = "1962da5ac484434524e7a25d566046edd932f901"
+SRCREV = "fe1965b3e73f7c241265e8e5b3015764936a6ce5"
 
 PV = "5.x+git${SRCPV}"
 
@@ -20,7 +20,6 @@ inherit cmake
 EXTRA_OECMAKE = "\
     -DASSIMP_BUILD_ASSIMP_TOOLS=OFF \
     -DASSIMP_BUILD_TESTS=OFF \
-    -DASSIMP_WARNINGS_AS_ERRORS=OFF \
     -DASSIMP_LIB_INSTALL_DIR=${baselib} \
     -DCMAKE_INSTALL_PREFIX=${prefix} \
     -DCMAKE_INSTALL_LIBDIR=${baselib} \
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.