Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package QCSXCAD for openSUSE:Factory checked 
in at 2021-11-25 23:05:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/QCSXCAD (Old)
 and      /work/SRC/openSUSE:Factory/.QCSXCAD.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "QCSXCAD"

Thu Nov 25 23:05:40 2021 rev:10 rq:933587 version:0.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/QCSXCAD/QCSXCAD.changes  2020-10-16 
16:14:16.656690660 +0200
+++ /work/SRC/openSUSE:Factory/.QCSXCAD.new.1895/QCSXCAD.changes        
2021-11-25 23:05:58.317231031 +0100
@@ -1,0 +2,6 @@
+Wed Nov 24 19:24:20 UTC 2021 - Stefan Br??ns <stefan.bru...@rwth-aachen.de>
+
+- Add patch to fix compilation with VTK 9.1:
+  * 0001-Fixup-includes-for-VTK-9.1-compatibility.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Fixup-includes-for-VTK-9.1-compatibility.patch

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

Other differences:
------------------
++++++ QCSXCAD.spec ++++++
--- /var/tmp/diff_new_pack.FKDy9y/_old  2021-11-25 23:05:58.829229265 +0100
+++ /var/tmp/diff_new_pack.FKDy9y/_new  2021-11-25 23:05:58.833229251 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package QCSXCAD
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -38,6 +38,8 @@
 Patch4:         0001-vtk-fix-changes-for-vtk-8.x.patch
 # PATCH-FIX-OPENSUSE
 Patch5:         0001-Remove-leftover-QVTKWidget-include-fix-for-VTK-9.patch
+# PATCH-FIX-OPENSUSE
+Patch6:         0001-Fixup-includes-for-VTK-9.1-compatibility.patch
 BuildRequires:  CSXCAD-devel
 BuildRequires:  cmake
 BuildRequires:  double-conversion-devel

++++++ 0001-Fixup-includes-for-VTK-9.1-compatibility.patch ++++++
>From 2aa7964f9d31448fa0f3caa17bcbe032c5f63d4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bru...@rwth-aachen.de>
Date: Wed, 24 Nov 2021 20:21:09 +0100
Subject: [PATCH] Fixup includes for VTK 9.1 compatibility

With VTK 9.1 vtkCommand.h no longer implicitly includes vtkVersion.h.

Remove vtkCommand.h from QVTKStructure.h, as it is not necessary, but
explicitly include vtkVersion.h.
---
 QVTKStructure.cpp | 2 +-
 QVTKStructure.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/QVTKStructure.cpp b/QVTKStructure.cpp
index 1a6dff5..c06fc7f 100644
--- a/QVTKStructure.cpp
+++ b/QVTKStructure.cpp
@@ -19,7 +19,6 @@
 
 #include "QVTKStructure.h"
 
-#include "vtkCommand.h"
 #if VTK_MAJOR_VERSION>=9
   #include "QVTKOpenGLStereoWidget.h"
   #include "vtkGenericOpenGLRenderWindow.h"
@@ -30,6 +29,7 @@
   #include "QVTKWidget.h"
 
 #endif
+#include "vtkCommand.h"
 #include "vtkRenderWindow.h"
 #include "vtkRenderWindowInteractor.h"
 #include "vtkRenderer.h"
diff --git a/QVTKStructure.h b/QVTKStructure.h
index 4b0dd5e..70f8bac 100644
--- a/QVTKStructure.h
+++ b/QVTKStructure.h
@@ -20,7 +20,7 @@
 
 #include <QtGui>
 
-#include "vtkCommand.h"
+#include "vtkVersion.h"
 #if VTK_MAJOR_VERSION>=9
   class QVTKOpenGLStereoWidget;
 #elif VTK_MAJOR_VERSION==8
-- 
2.33.1

Reply via email to