diff options
author | root <root@rshg054.dnsready.net> | 2012-12-25 02:32:08 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-25 02:32:08 -0800 |
commit | 6fbdd2899f39266e458531dcffefb85b9ce8d1b9 (patch) | |
tree | 7d290e717ddd4dab90362a017be197c551dd2ae0 /community/vtk | |
parent | 6003fa8908f984a4696fade78b69a8803eabcc6c (diff) |
Tue Dec 25 02:27:55 PST 2012
Diffstat (limited to 'community/vtk')
-rw-r--r-- | community/vtk/PKGBUILD | 12 | ||||
-rw-r--r-- | community/vtk/tcl-8.6.diff | 13 |
2 files changed, 20 insertions, 5 deletions
diff --git a/community/vtk/PKGBUILD b/community/vtk/PKGBUILD index 6b53c1faf..b322bb75a 100644 --- a/community/vtk/PKGBUILD +++ b/community/vtk/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 79495 2012-11-06 06:33:11Z aginiewicz $ +# $Id: PKGBUILD 81612 2012-12-25 00:34:18Z foutrelis $ # Maintainer: Andrzej Giniewicz <gginiu@gmail.com> # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Christofer Bertonha <christoferbertonha at gmail dot com> @@ -10,7 +10,7 @@ pkgname=vtk pkgver=5.10.1 -pkgrel=1 +pkgrel=2 pkgdesc='A software system for 3D computer graphics, image processing, and visualization.' arch=('i686' 'x86_64') url='http://www.vtk.org/' @@ -24,18 +24,20 @@ optdepends=('python2: python bindings' 'graphviz: drawing tools') source=("http://www.vtk.org/files/release/${pkgver:0:4}/vtk-${pkgver}.tar.gz" "http://www.vtk.org/files/release/${pkgver:0:4}/vtkdata-${pkgver}.tar.gz" - ffmpeg-0.8.diff ffmpeg-0.11.diff) + ffmpeg-0.8.diff ffmpeg-0.11.diff tcl-8.6.diff) md5sums=('264b0052e65bd6571a84727113508789' 'b6355063264cd56bcd1396c92f6ca59a' 'e992321c9d1def6034d0fa6607b40c5a' - '81922ea61989e5591135f233a0400694') + '81922ea61989e5591135f233a0400694' + 'a804a9f034e24ef1a8b28542c15ce1a1') build() { cd "${srcdir}"/VTK$pkgver - # fix compilation error: + # fix compilation errors: patch -Np1 -i "${srcdir}/ffmpeg-0.8.diff" patch -Np1 -i "${srcdir}/ffmpeg-0.11.diff" + patch -Np1 -i "${srcdir}/tcl-8.6.diff" cd "${srcdir}" diff --git a/community/vtk/tcl-8.6.diff b/community/vtk/tcl-8.6.diff new file mode 100644 index 000000000..6152a8fa7 --- /dev/null +++ b/community/vtk/tcl-8.6.diff @@ -0,0 +1,13 @@ +--- VTK5.10.1/Common/vtkTcl.h 2012-10-15 22:33:21.000000000 +0200 ++++ VTK5.10.1/Common/vtkTcl.h.new 2012-12-22 12:27:56.176482722 +0100 +@@ -17,6 +17,10 @@ + + #include "vtkConfigure.h" + ++// see http://paraview.org/Bug/view.php?id=11810 ++#define USE_INTERP_RESULT ++#define USE_INTERP_ERRORLINE ++ + #ifdef VTK_TCL_TK_STATIC + # ifndef STATIC_BUILD + # define STATIC_BUILD |