Add patch to fix build with gcc 13

This commit is contained in:
Orion Poplawski 2023-01-17 17:13:50 -07:00
parent 5cef47821a
commit 085f74c1ef
2 changed files with 14 additions and 0 deletions

11
vtk-include.patch Normal file
View File

@ -0,0 +1,11 @@
diff -up VTK-9.2.5/IO/Image/vtkSEPReader.h.include VTK-9.2.5/IO/Image/vtkSEPReader.h
--- VTK-9.2.5/IO/Image/vtkSEPReader.h.include 2023-01-05 08:51:35.000000000 -0700
+++ VTK-9.2.5/IO/Image/vtkSEPReader.h 2023-01-17 07:43:41.988095734 -0700
@@ -26,6 +26,7 @@
#include "vtkNew.h" // for ivars
#include <array> // for std::array
+#include <cstdint> // for std::uint8_t
#include <string> // for std::string
namespace details

View File

@ -49,6 +49,9 @@ Source2: xorg.conf
Patch0: vtk-libharu.patch
# Fix issue with Mayavi
Patch1: https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9616.patch
# Add missing includes for gcc 13
# https://gitlab.kitware.com/vtk/vtk/-/issues/18782
Patch2: vtk-include.patch
URL: https://vtk.org/