summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2021-08-22 23:17:32 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-25 12:11:20 +0700
commit03a6e0502bf0a5c6ddd01a37f79c302e5c64aeb3 (patch)
treecdcdaeaacbfd670ab6aee982d528339d5013bdbe
parent289716ceab672d235f4443c3e7c9da0d7b493dcd (diff)
downloadslackbuilds-03a6e0502bf0a5c6ddd01a37f79c302e5c64aeb3.tar.gz
libraries/VTK: Updated for version 9.0.3
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/VTK/VTK.SlackBuild3
-rw-r--r--libraries/VTK/VTK.info6
-rw-r--r--libraries/VTK/include_limits.patch40
3 files changed, 45 insertions, 4 deletions
diff --git a/libraries/VTK/VTK.SlackBuild b/libraries/VTK/VTK.SlackBuild
index f55b24d1b6..a08df4c539 100644
--- a/libraries/VTK/VTK.SlackBuild
+++ b/libraries/VTK/VTK.SlackBuild
@@ -28,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=VTK
-VERSION=${VERSION:-9.0.1}
+VERSION=${VERSION:-9.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -100,6 +100,7 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
patch -p1 < $CWD/vtk-includes.patch
patch -p1 < $CWD/vtk-AllValues.patch
+patch -p1 < $CWD/include_limits.patch
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/libraries/VTK/VTK.info b/libraries/VTK/VTK.info
index c454ff0e9f..6695bccb41 100644
--- a/libraries/VTK/VTK.info
+++ b/libraries/VTK/VTK.info
@@ -1,8 +1,8 @@
PRGNAM="VTK"
-VERSION="9.0.1"
+VERSION="9.0.3"
HOMEPAGE="https://www.vtk.org"
-DOWNLOAD="https://www.vtk.org/files/release/9.0/VTK-9.0.1.tar.gz"
-MD5SUM="b3ba14d616c3b23583c42cffb585deac"
+DOWNLOAD="https://www.vtk.org/files/release/9.0/VTK-9.0.3.tar.gz"
+MD5SUM="1abe6e2d7988193cf7d64c4d84287956"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/VTK/include_limits.patch b/libraries/VTK/include_limits.patch
new file mode 100644
index 0000000000..888dcb9912
--- /dev/null
+++ b/libraries/VTK/include_limits.patch
@@ -0,0 +1,40 @@
+--- ../Common/Core/vtkGenericDataArrayLookupHelper.h.orig 2021-07-03 01:31:21.000000000 +1000
++++ ../Common/Core/vtkGenericDataArrayLookupHelper.h 2021-08-22 22:38:52.682000000 +1000
+@@ -22,6 +22,7 @@
+ #ifndef vtkGenericDataArrayLookupHelper_h
+ #define vtkGenericDataArrayLookupHelper_h
+
++#include <limits>
+ #include "vtkIdList.h"
+ #include <algorithm>
+ #include <cmath>
+--- ../Common/DataModel/vtkPiecewiseFunction.h.orig 2021-07-03 01:31:21.000000000 +1000
++++ ../Common/DataModel/vtkPiecewiseFunction.h 2021-08-22 22:40:08.253000000 +1000
+@@ -37,6 +37,7 @@
+ #ifndef vtkPiecewiseFunction_h
+ #define vtkPiecewiseFunction_h
+
++#include <limits>
+ #include "vtkCommonDataModelModule.h" // For export macro
+ #include "vtkDataObject.h"
+
+--- ../Rendering/Core/vtkColorTransferFunction.h.orig 2021-07-03 01:31:21.000000000 +1000
++++ ../Rendering/Core/vtkColorTransferFunction.h 2021-08-22 22:40:42.364000000 +1000
+@@ -36,6 +36,7 @@
+ #ifndef vtkColorTransferFunction_h
+ #define vtkColorTransferFunction_h
+
++#include <limits>
+ #include "vtkRenderingCoreModule.h" // For export macro
+ #include "vtkScalarsToColors.h"
+
+--- ../Filters/HyperTree/vtkHyperTreeGridThreshold.h.orig 2021-07-03 01:31:21.000000000 +1000
++++ ../Filters/HyperTree/vtkHyperTreeGridThreshold.h 2021-08-22 22:46:16.135000000 +1000
+@@ -40,6 +40,7 @@
+ #ifndef vtkHyperTreeGridThreshold_h
+ #define vtkHyperTreeGridThreshold_h
+
++#include <limits>
+ #include "vtkFiltersHyperTreeModule.h" // For export macro
+ #include "vtkHyperTreeGridAlgorithm.h"
+