[med-svn] [Git][med-team/itksnap][master] Add patch to build with VTK 9.1
Andreas Tille (@tille)
gitlab at salsa.debian.org
Mon Feb 13 18:34:06 GMT 2023
Andreas Tille pushed to branch master at Debian Med / itksnap
Commits:
e2b41074 by Francois Mazen at 2023-02-13T17:51:09+01:00
Add patch to build with VTK 9.1
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/06_vtk9.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -9,6 +9,9 @@ itksnap (3.6.0-6) UNRELEASED; urgency=medium
[ Anton Gladky ]
* Switch to vtk9
+ [ Francois Mazen ]
+ * Fix build with VTK 9.1
+
[ Andreas Tille ]
* Standards-Version: 4.6.0 (routine-update)
* debhelper-compat 13 (routine-update)
=====================================
debian/patches/06_vtk9.patch
=====================================
@@ -0,0 +1,22 @@
+Description: Fix build with VTK 9.1
+Author: Francois Mazen <francois at mzf.fr>
+Forwarded: not-needed
+
+--- a/GUI/Renderer/IntensityCurveVTKRenderer.cxx
++++ b/GUI/Renderer/IntensityCurveVTKRenderer.cxx
+@@ -6,6 +6,7 @@
+ #include <vtkTable.h>
+ #include <vtkContextView.h>
+ #include <vtkContextScene.h>
++#include <vtkContextTransform.h>
+ #include <vtkAxis.h>
+ #include "vtkControlPointsItem.h"
+ #include "vtkObjectFactory.h"
+@@ -318,7 +319,7 @@
+ this->DrawPoint(painter, this->CurrentPoint);
+ }
+
+- this->Transform->SetMatrix(painter->GetTransform()->GetMatrix());
++ this->Transform->GetTransform()->SetMatrix(painter->GetTransform()->GetMatrix());
+ return true;
+ }
=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@
03_glibc_2.32.patch
04_gxx.patch
05_vtk7.patch
+06_vtk9.patch
View it on GitLab: https://salsa.debian.org/med-team/itksnap/-/commit/e2b410745174862f0d705e539f6be4799f0a48f2
--
View it on GitLab: https://salsa.debian.org/med-team/itksnap/-/commit/e2b410745174862f0d705e539f6be4799f0a48f2
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20230213/d122598c/attachment-0001.htm>
More information about the debian-med-commit
mailing list