qtquick3d-fix-build-with-gcc11.patch 1.1 KB

12345678910111213141516171819202122232425
  1. diff --git a/src/3rdparty/assimp/src/code/Common/Importer.cpp b/src/3rdparty/assimp/src/code/Common/Importer.cpp
  2. index a2ad041..6f2438f 100644
  3. --- a/src/3rdparty/assimp/src/code/Common/Importer.cpp
  4. +++ b/src/3rdparty/assimp/src/code/Common/Importer.cpp
  5. @@ -46,6 +46,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  6. #include <assimp/version.h>
  7. #include <assimp/config.h>
  8. #include <assimp/importerdesc.h>
  9. +#include <exception>
  10. // ------------------------------------------------------------------------------------------------
  11. /* Uncomment this line to prevent Assimp from catching unknown exceptions.
  12. diff --git a/src/3rdparty/assimp/src/include/assimp/Importer.hpp b/src/3rdparty/assimp/src/include/assimp/Importer.hpp
  13. index 09b5b68..89eb071 100644
  14. --- a/src/3rdparty/assimp/src/include/assimp/Importer.hpp
  15. +++ b/src/3rdparty/assimp/src/include/assimp/Importer.hpp
  16. @@ -58,6 +58,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  17. // Public ASSIMP data structures
  18. #include <assimp/types.h>
  19. +#include <exception>
  20. #include <exception>