https://bugs.gentoo.org/840616
https://github.com/assimp/assimp/issues/4433

From dea8b4d8c533c131bd546c316f8df8af8897ac75 Mon Sep 17 00:00:00 2001
From: Bernd Waibel <waebbl-gentoo@posteo.net>
Date: Mon, 25 Apr 2022 17:39:33 +0200
Subject: [PATCH] drop -Werror gcc option

Temporary hack to allow building with gcc-12

Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
--- a/code/CMakeLists.txt
+++ b/code/CMakeLists.txt
@@ -1179,8 +1179,6 @@ TARGET_USE_COMMON_OUTPUT_DIRECTORY(assimp)
 # enable warnings as errors ########################################
 IF (MSVC)
   TARGET_COMPILE_OPTIONS(assimp PRIVATE /WX)
-ELSE()
-  TARGET_COMPILE_OPTIONS(assimp PRIVATE -Werror)
 ENDIF()
 
 # adds C_FLAGS required to compile zip.c on old GCC 4.x compiler
-- 
2.35.1

