mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 12:17:05 +08:00
[vtk] patch GCC13 compilation errors (#31447)
This commit is contained in:
parent
60f251356d
commit
0f1f5200c6
40
ports/vtk/missing-include-fixes.patch
Normal file
40
ports/vtk/missing-include-fixes.patch
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
diff --git a/IO/Image/vtkSEPReader.cxx b/IO/Image/vtkSEPReader.cxx
|
||||||
|
index 2b15bc249e..cec84d1712 100644
|
||||||
|
--- a/IO/Image/vtkSEPReader.cxx
|
||||||
|
+++ b/IO/Image/vtkSEPReader.cxx
|
||||||
|
@@ -34,7 +34,6 @@
|
||||||
|
#include <vtksys/SystemTools.hxx>
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
-#include <cstdint>
|
||||||
|
|
||||||
|
namespace details
|
||||||
|
{
|
||||||
|
diff --git a/IO/Image/vtkSEPReader.h b/IO/Image/vtkSEPReader.h
|
||||||
|
index 83d127a41e..bdb33a258b 100644
|
||||||
|
--- a/IO/Image/vtkSEPReader.h
|
||||||
|
+++ b/IO/Image/vtkSEPReader.h
|
||||||
|
@@ -25,8 +25,9 @@
|
||||||
|
#include "vtkImageAlgorithm.h"
|
||||||
|
#include "vtkNew.h" // for ivars
|
||||||
|
|
||||||
|
-#include <array> // for std::array
|
||||||
|
-#include <string> // for std::string
|
||||||
|
+#include <array> // for std::array
|
||||||
|
+#include <cstdint> // for std::uint8_t
|
||||||
|
+#include <string> // for std::string
|
||||||
|
|
||||||
|
namespace details
|
||||||
|
{
|
||||||
|
diff --git a/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp b/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp
|
||||||
|
index 6267684218..cf19b83af4 100644
|
||||||
|
--- a/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp
|
||||||
|
+++ b/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp
|
||||||
|
@@ -31,6 +31,7 @@
|
||||||
|
|
||||||
|
/*! @cond Doxygen_Suppress */
|
||||||
|
|
||||||
|
+#include <cstdint>
|
||||||
|
#include <vector>
|
||||||
|
#include <string>
|
||||||
|
|
@ -40,6 +40,7 @@ vcpkg_from_github(
|
|||||||
iotr.patch
|
iotr.patch
|
||||||
${STRING_PATCH}
|
${STRING_PATCH}
|
||||||
9690.diff
|
9690.diff
|
||||||
|
missing-include-fixes.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "vtk",
|
"name": "vtk",
|
||||||
"version-semver": "9.2.0-pv5.11.0",
|
"version-semver": "9.2.0-pv5.11.0",
|
||||||
"port-version": 6,
|
"port-version": 7,
|
||||||
"description": "Software system for 3D computer graphics, image processing, and visualization",
|
"description": "Software system for 3D computer graphics, image processing, and visualization",
|
||||||
"homepage": "https://github.com/Kitware/VTK",
|
"homepage": "https://github.com/Kitware/VTK",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
|
@ -8482,7 +8482,7 @@
|
|||||||
},
|
},
|
||||||
"vtk": {
|
"vtk": {
|
||||||
"baseline": "9.2.0-pv5.11.0",
|
"baseline": "9.2.0-pv5.11.0",
|
||||||
"port-version": 6
|
"port-version": 7
|
||||||
},
|
},
|
||||||
"vtk-dicom": {
|
"vtk-dicom": {
|
||||||
"baseline": "0.8.14",
|
"baseline": "0.8.14",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "9ec376669498a8b43b3dc1779386dcc383d7cc1f",
|
||||||
|
"version-semver": "9.2.0-pv5.11.0",
|
||||||
|
"port-version": 7
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "340d82faf130e467fb4ed6d5e8ce5bf93101513e",
|
"git-tree": "340d82faf130e467fb4ed6d5e8ce5bf93101513e",
|
||||||
"version-semver": "9.2.0-pv5.11.0",
|
"version-semver": "9.2.0-pv5.11.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user