File: vtk9.patch

package info (click to toggle)
odin 2.0.5-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,224 kB
  • sloc: cpp: 62,639; sh: 4,541; makefile: 779
file content (27 lines) | stat: -rw-r--r-- 1,510 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Add support for vtk 9.x
Author: Anton Gladky <gladk@debian.org
Bug-Debian: https://bugs.debian.org/1072824
Last-Update: 2025-10-16

Index: odin/configure.ac
===================================================================
--- odin.orig/configure.ac
+++ odin/configure.ac
@@ -431,7 +431,7 @@ else
       dnl Continue only if previous lib was found
       if test "x$lib_vtk" = "xyes" ; then
         vtkver_match=no
-        for vtkver in 7.1 7.0 6.3 6.2 6.1 6.0  ; do
+        for vtkver in 7.1 7.0 6.3 6.2 6.1 6.0 9.0 9.1 9.3 9.5 9.6 9.7; do
           if test "x$vtkver_match" = "xno" ; then
             AC_CHECK_LIB(${vtklib}-${vtkver},main,DATALIBS="-l${vtklib}-${vtkver} $DATALIBS"; vtkver_match=yes; vtkver_selection=-${vtkver})
           fi
@@ -444,7 +444,7 @@ else
 
     
     dnl mandatory GUI libs
-    for vtklib in vtkCommonColor vtkCommonComputationalGeometry vtkCommonCore vtkCommonDataModel vtkCommonExecutionModel vtkCommonMath vtkCommonMisc vtkCommonSystem vtkCommonTransforms vtkFiltersCore vtkFiltersGeneral vtkFiltersSources vtkInteractionStyle vtkRenderingCore ; do
+    for vtklib in vtkCommonColor vtkCommonComputationalGeometry vtkCommonCore vtkCommonDataModel vtkCommonExecutionModel vtkCommonMath vtkCommonMisc vtkCommonSystem vtkCommonTransforms vtkFiltersCore vtkFiltersGeneral vtkFiltersSources vtkInteractionStyle vtkRenderingCore vtksys; do
       dnl Continue only if previous lib was found
       if test "x$lib_vtk" = "xyes" ; then
         vtkver_match=no