Commit 70be8498 authored by Gianfranco Costamagna's avatar Gianfranco Costamagna Committed by Gianfranco Costamagna

Imported Debian patch 4.1.2-5

parents 300a13ee 36d19f07
ifrit (4.1.2-5) unstable; urgency=medium
* QA upload.
[ Gert Wollny ]
* debian/patches/vtk63_transition.patch
- prepare for vtk 6.3 (Closes: #821105)
-- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 15 Apr 2016 17:37:19 +0200
ifrit (4.1.2-4) unstable; urgency=medium
* QA upload.
......
vtk63_transition.patch
## Description: add some description
## Origin/Author: add some origin or author
## Bug: bug URL
--- a/core/icaption.cpp
+++ b/core/icaption.cpp
@@ -145,7 +145,7 @@
// and four edge centers.
//
float d2, d2min, pt[3], ptmin[2];
- d2min = VTK_LARGE_FLOAT;
+ d2min = VTK_FLOAT_MAX;
pt[2] = pa[2] = 0.0;
for(j=0; j<8; j++)
--- a/core/irunner.cpp
+++ b/core/irunner.cpp
@@ -32,7 +32,9 @@
VTK_MODULE_INIT(vtkRenderingOpenGL);
VTK_MODULE_INIT(vtkRenderingVolumeOpenGL);
VTK_MODULE_INIT(vtkRenderingFreeType);
+#if VTK_MAJOR_VERSION <6 || (VTK_MAJOR_VERSION ==6 && VTK_MINOR_VERSION < 3)
VTK_MODULE_INIT(vtkRenderingFreeTypeOpenGL);
+#endif
#endif
#include "irunner.h"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment