vtk: fix build with gcc 13
This commit is contained in:
parent
7cdefd77e8
commit
14c8d50bc3
1 changed files with 13 additions and 0 deletions
13
srcpkgs/vtk/patches/gcc13.patch
Normal file
13
srcpkgs/vtk/patches/gcc13.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
Source: https://src.fedoraproject.org/rpms/vtk/blob/1a12f28665b2f24537b98fcf4b3fb3a176fa7fba/f/vtk-include.patch
|
||||
|
||||
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
|
Loading…
Add table
Reference in a new issue