[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#821105: ifrit: Prepare for transition to VTK 6.3



Package: ifrit
Version: 4.1.2-4
Severity: important
Tags: patch

Dear Maintainer,

the package does not compile against VTK 6.3. The attached patch fixes this.
Note that once the transition starts, the severity of the bug will be raised to
serious.

libvtk6-dev (6.3) is currently available from experimental.

Best,
Gert




-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- 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"

Reply to: