Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2023-04-06 15:56:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and      /work/SRC/openSUSE:Factory/.vtk.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vtk"

Thu Apr  6 15:56:00 2023 rev:58 rq:1077444 version:9.2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2023-02-20 17:45:42.763383831 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new.19717/vtk.changes       2023-04-06 
15:56:03.796336977 +0200
@@ -1,0 +2,5 @@
+Tue Apr  4 08:52:20 UTC 2023 - Stefan Brüns <stefan.bru...@rwth-aachen.de>
+
+- Fix build with GCC 13, add add_missing_cstdint.patch
+
+-------------------------------------------------------------------

New:
----
  add_missing_cstdint.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vtk.spec ++++++
--- /var/tmp/diff_new_pack.pTILZc/_old  2023-04-06 15:56:05.200344906 +0200
+++ /var/tmp/diff_new_pack.pTILZc/_new  2023-04-06 15:56:05.204344929 +0200
@@ -120,6 +120,8 @@
 Patch17:        0001-Always-generate-Python-Metadata-when-WRAP_PYTHON-is-.patch
 # PATCH-FIX-UPSTREAM -- Copy generated metadata to the right directory
 Patch18:        0001-Consider-VTK_PYTHON_SITE_PACKAGES_SUFFIX-for-Python-.patch
+# PATCH-FIX-UPSTREAM -- Add missing cstdint header required by GCC 13
+Patch19:        
https://gitlab.kitware.com/vtk/vtk/-/commit/b1a09529f3ab.patch#/add_missing_cstdint.patch
 BuildRequires:  cgns-devel
 BuildRequires:  chrpath
 BuildRequires:  cmake >= 3.12
@@ -399,6 +401,7 @@
 %endif
 %patch17 -p1
 %patch18 -p1
+%patch19 -p1
 
 # Replace relative path ../../../../VTKData with %%{_datadir}/vtkdata
 # otherwise it will break on symlinks.

++++++ add_missing_cstdint.patch ++++++
>From b1a09529f3ab381494f3eecb53b2ce4adc5b55e9 Mon Sep 17 00:00:00 2001
From: Laurent Rineau <laurent.rin...@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>`.
---
 IO/Image/vtkSEPReader.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/IO/Image/vtkSEPReader.h b/IO/Image/vtkSEPReader.h
index 83d127a41e4..b9110780f26 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 and std::uint32_t
+#include <string>  // for std::string
 
 namespace details
 {
-- 
GitLab

Reply via email to