From a2903b7898062fac38bc1af2766b40a1b292f5811743b8bd5eb3111ccdda1cba Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 11 May 2022 15:46:45 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/games/assimp?expand=0&rev=37 --- assimp.changes | 5 +++++ assimp.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/assimp.changes b/assimp.changes index bc19424..8ddda44 100644 --- a/assimp.changes +++ b/assimp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 11 15:37:28 UTC 2022 - Christophe Giboudeaux + +- Don't use -Werror to prevent build issues with GCC 12 + ------------------------------------------------------------------- Sun Mar 20 07:34:20 UTC 2022 - Christophe Giboudeaux diff --git a/assimp.spec b/assimp.spec index 9c348cc..548bbd6 100644 --- a/assimp.spec +++ b/assimp.spec @@ -71,6 +71,9 @@ engine-specific format for easy and fast every-day-loading. %prep %autosetup -p1 +# Breaks the build with gcc12 (gh#assimp/assimp#4433) +sed -i '/Werror/d' code/CMakeLists.txt + %build %cmake