summaryrefslogtreecommitdiff
path: root/community/paraview/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/paraview/PKGBUILD')
-rw-r--r--community/paraview/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/paraview/PKGBUILD b/community/paraview/PKGBUILD
index 929c59363..4a6694a29 100644
--- a/community/paraview/PKGBUILD
+++ b/community/paraview/PKGBUILD
@@ -3,8 +3,8 @@
# Contributor: Simon Zilliken <simon____AT____zilliken____DOT____name>
pkgname=paraview
-pkgver=3.10.0
-pkgrel=2
+pkgver=3.10.1
+pkgrel=1
pkgdesc='Parallel Visualization Application using VTK.'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.paraview.org'
@@ -15,7 +15,7 @@ source=("http://paraview.org/files/v${pkgver:0:4}/ParaView-${pkgver}.tar.gz"
"${pkgname}.profile"
"${pkgname}.png"
"${pkgname}.desktop")
-md5sums=('5369f05667f1ad8aaca7a879208aeb3c'
+md5sums=('d8a9d4a997a720589ffd57568bcdd449'
'534ef49689a7f630c98380f5ab4bf915'
'db623002bc71a257ddfdd0c9c7b14c3f'
'4e4b7172ed18171c37446fd7c4f1e8f5')
@@ -23,6 +23,10 @@ md5sums=('5369f05667f1ad8aaca7a879208aeb3c'
build() {
cd ParaView-${pkgver}
+ sed -i '20 i#include <stddef.h>' VTK/Utilities/vtkmetaio/metaUtils.cxx
+ sed -i 's/stddef.h/cstddef/' VTK/Wrapping/Python/vtkPythonUtil.cxx
+ sed -i '36 i#include <vtksys/cstddef>' VTK/Wrapping/Python/PyVTKObject.cxx
+
# Paraview wants to be built out of source
mkdir -p build
cd build