fix gcc13 error

OBS-URL: https://build.opensuse.org/package/show/science/FreeCAD?expand=0&rev=160
This commit is contained in:
2023-03-27 08:01:06 +00:00
committed by Git OBS Bridge
parent 6310dfade3
commit 353fb2556a
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
--- a/src/3rdParty/libE57Format/include/E57Format.h
+++ b/src/3rdParty/libE57Format/include/E57Format.h 2023-03-27 09:59:08.143013765 +0200
@@ -33,6 +33,7 @@
#include <cfloat>
#include <memory>
+#include <cstdint>
#include <vector>
#include "E57Exception.h"

View File

@@ -50,6 +50,8 @@ Patch5: 0001-FEM-add-missing-include.patch
Patch6: 0001-Revert-unused-parameter-warning-change.patch
# PATCH-FIX-UPSTREAM
Patch7: 0001-FEM-femmesh-fix-AttributeError-module-numpy-has-no-a.patch
# PATCH-FIX-openSUSE to be upstreamed
Patch8: 0001-Fix-build-with-gcc13.patch
# Test suite fails on 32bit and I don't want to debug that anymore
ExcludeArch: %ix86 %arm ppc s390 s390x