[arch-commits] Commit in paraview/trunk (PKGBUILD vtk-comp-missing-includes.patch)

Evangelos Foutras foutrelis at archlinux.org
Mon Jun 7 16:25:33 UTC 2021


    Date: Monday, June 7, 2021 @ 16:25:33
  Author: foutrelis
Revision: 957823

upgpkg: paraview 5.9.1-1: gdal 3.3.0 rebuild + version bump

Added:
  paraview/trunk/vtk-comp-missing-includes.patch
Modified:
  paraview/trunk/PKGBUILD

---------------------------------+
 PKGBUILD                        |   11 ++++--
 vtk-comp-missing-includes.patch |   60 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-07 16:25:31 UTC (rev 957822)
+++ PKGBUILD	2021-06-07 16:25:33 UTC (rev 957823)
@@ -7,8 +7,8 @@
 _mpi=openmpi
 pkgname=${_pkg}
 #-${_mpi}
-pkgver=5.9.0
-pkgrel=3
+pkgver=5.9.1
+pkgrel=1
 pkgdesc="Parallel Visualization application using VTK (${_mpi} version)"
 arch=(x86_64)
 url="https://www.paraview.org"
@@ -22,11 +22,14 @@
 makedepends=(cmake boost mesa gcc-fortran ninja qt5-tools qt5-xmlpatterns eigen utf8cpp)
 # pegtl https://gitlab.kitware.com/vtk/vtk/-/issues/18151
 conflicts=(vtk)
-source=("${url}/files/v${pkgver:0:3}/ParaView-v${pkgver/R/-R}.tar.xz")
-sha256sums=('b03258b7cddb77f0ee142e3e77b377e5b1f503bcabc02bfa578298c99a06980d')
+source=("${url}/files/v${pkgver:0:3}/ParaView-v${pkgver/R/-R}.tar.xz"
+        vtk-comp-missing-includes.patch)
+sha256sums=('0d486cb6fbf55e428845c9650486f87466efcb3155e40489182a7ea85dfd4c8d'
+            'c400753e386601008a2ed0269a58be76f06cc3c084f2dd48e87f6f04e8eca77f')
 
 prepare() {
     cd ParaView-v${pkgver/R/-R}
+    patch -Np1 -d VTK <../vtk-comp-missing-includes.patch
     # We have a patched libharu
     sed -i "s|2.4.0|2.3.0|" VTK/ThirdParty/libharu/CMakeLists.txt
 }

Added: vtk-comp-missing-includes.patch
===================================================================
--- vtk-comp-missing-includes.patch	                        (rev 0)
+++ vtk-comp-missing-includes.patch	2021-06-07 16:25:33 UTC (rev 957823)
@@ -0,0 +1,60 @@
+From e066c3f4fbbfe7470c6207db0fc3f3952db633cb Mon Sep 17 00:00:00 2001
+From: Mark Olesen <Mark.Olesen at esi-group.com>
+Date: Tue, 9 Feb 2021 15:19:10 +0100
+Subject: [PATCH] COMP: missing includes (clang)
+
+---
+ Common/Core/vtkGenericDataArrayLookupHelper.h   | 1 +
+ Common/DataModel/vtkPiecewiseFunction.cxx       | 1 +
+ Filters/HyperTree/vtkHyperTreeGridThreshold.cxx | 1 +
+ Rendering/Core/vtkColorTransferFunction.cxx     | 1 +
+ 4 files changed, 4 insertions(+)
+
+diff --git a/Common/Core/vtkGenericDataArrayLookupHelper.h b/Common/Core/vtkGenericDataArrayLookupHelper.h
+index ab9d57248f8..202aaa27f4a 100644
+--- a/Common/Core/vtkGenericDataArrayLookupHelper.h
++++ b/Common/Core/vtkGenericDataArrayLookupHelper.h
+@@ -25,6 +25,7 @@
+ #include "vtkIdList.h"
+ #include <algorithm>
+ #include <cmath>
++#include <limits>
+ #include <unordered_map>
+ #include <vector>
+ 
+diff --git a/Common/DataModel/vtkPiecewiseFunction.cxx b/Common/DataModel/vtkPiecewiseFunction.cxx
+index 22eca0bc22e..11086f1dc42 100644
+--- a/Common/DataModel/vtkPiecewiseFunction.cxx
++++ b/Common/DataModel/vtkPiecewiseFunction.cxx
+@@ -22,6 +22,7 @@
+ #include <cassert>
+ #include <cmath>
+ #include <iterator>
++#include <limits>
+ #include <set>
+ #include <vector>
+ 
+diff --git a/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx b/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
+index a16bb27fc66..1052192c616 100644
+--- a/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
++++ b/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
+@@ -27,6 +27,7 @@
+ #include "vtkHyperTreeGridNonOrientedCursor.h"
+ 
+ #include <cmath>
++#include <limits>
+ 
+ vtkStandardNewMacro(vtkHyperTreeGridThreshold);
+ 
+diff --git a/Rendering/Core/vtkColorTransferFunction.cxx b/Rendering/Core/vtkColorTransferFunction.cxx
+index 55c046b4df7..1be02919ab9 100644
+--- a/Rendering/Core/vtkColorTransferFunction.cxx
++++ b/Rendering/Core/vtkColorTransferFunction.cxx
+@@ -21,6 +21,7 @@
+ #include <algorithm>
+ #include <cmath>
+ #include <iterator>
++#include <limits>
+ #include <set>
+ #include <vector>
+ 



More information about the arch-commits mailing list