diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-30 14:58:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-30 14:58:12 +0000 |
commit | 268511f85b0606dd23fda1991345568dd3e1976b (patch) | |
tree | 6db33fa4a4774e1e23c22fb636b6d8717f28f2c8 /sci-libs/vtk/files | |
parent | 552fc3ba95eab5c2c1a8b2b55ab432a1019739a0 (diff) |
gentoo auto-resync : 30:01:2023 - 14:58:12
Diffstat (limited to 'sci-libs/vtk/files')
-rw-r--r-- | sci-libs/vtk/files/vtk-9.2.5-Add-include-cstdint-for-gcc-13.patch | 20 | ||||
-rw-r--r-- | sci-libs/vtk/files/vtk-9.2.5-Add-include-cstdint-to-compile-with-gcc-13.patch | 30 |
2 files changed, 50 insertions, 0 deletions
diff --git a/sci-libs/vtk/files/vtk-9.2.5-Add-include-cstdint-for-gcc-13.patch b/sci-libs/vtk/files/vtk-9.2.5-Add-include-cstdint-for-gcc-13.patch new file mode 100644 index 000000000000..3ab71521b6b5 --- /dev/null +++ b/sci-libs/vtk/files/vtk-9.2.5-Add-include-cstdint-for-gcc-13.patch @@ -0,0 +1,20 @@ +From 69351f357a82c0bb7f97f4f707962de3400760a8 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl-gentoo@posteo.net> +Date: Sun, 29 Jan 2023 12:17:36 +0100 +Subject: [PATCH] Add #include <cstdint> for gcc-13 + +Bug: https://gitlab.kitware.com/vtk/vtk/-/issues/18782 +Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> +--- a/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.h ++++ b/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.h +@@ -50,6 +50,7 @@ + #include "vtkRenderingMatplotlibModule.h" // For export macro + + #include <vector> // for std::vector ++#include <cstdint> // for std::uint64_t + + struct _object; + typedef struct _object PyObject; +-- +2.39.1 + diff --git a/sci-libs/vtk/files/vtk-9.2.5-Add-include-cstdint-to-compile-with-gcc-13.patch b/sci-libs/vtk/files/vtk-9.2.5-Add-include-cstdint-to-compile-with-gcc-13.patch new file mode 100644 index 000000000000..82bf19b6b07f --- /dev/null +++ b/sci-libs/vtk/files/vtk-9.2.5-Add-include-cstdint-to-compile-with-gcc-13.patch @@ -0,0 +1,30 @@ +https://gitlab.kitware.com/vtk/vtk/-/merge-requests/9857 + +From ef95422b62296e4c136917095eace14f48cefb82 Mon Sep 17 00:00:00 2001 +From: Laurent Rineau <laurent.rineau@cgal.org> +Date: Tue, 17 Jan 2023 16:18:53 +0100 +Subject: [PATCH] Add #include <cstdint> to compile with gcc13 + +The `vtkSEPReader` was introduced by MRs !4909 (from my former +collaborator Maxime) and !4938. Then it was highly modified by +!7516. The later MR is the one that introduced the uses of +`std::uint8_t` and `std::uint32_t`. + +Those types needs the inclusion of `<cstdint>`. +--- 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 and std::uint32_t ++#include <string> // for std::string + + namespace details + { +-- +GitLab + |