[arch-commits] Commit in vtk/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Oct 26 17:46:31 UTC 2019
Date: Saturday, October 26, 2019 @ 17:46:31
Author: arojas
Revision: 520446
Fix build with python 3.8
Modified:
vtk/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-26 17:45:36 UTC (rev 520445)
+++ PKGBUILD 2019-10-26 17:46:31 UTC (rev 520446)
@@ -44,12 +44,14 @@
source=("${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz"
"${url}/files/release/${pkgver%.*}/VTKData-${pkgver}.tar.gz"
"${url}/files/release/${pkgver%.*}/VTKLargeData-${pkgver}.tar.gz"
- proj6.patch)
+ proj6.patch
+ vtk-python-3.8.patch::"https://gitlab.kitware.com/vtk/vtk/merge_requests/5883.patch")
options=(staticlibs)
sha512sums=('521bd4dabedbc24b0e80a314a34ecd7554b04af28a7973245e3a9cf99a09b995d1b8ac42305c8e53369f226a0a6da3cdb29105ba2c90b46492736ef717760286'
'517d0f6dfdb0c61f59df933f06d3a28c8a48ea684aaff311456213fe493e2a20128886144325fc4edfa376b2d375a2dae6c60ad6e3d5d2f4a7b0ac1d8545c87b'
'8a7ea3d5870b1e4ccb31c77b4c270d00208349da1b2938e957210db3ec1449b678c66edc2faee1d4514aca6d725f642abc91e10ab0c151f6743cad1c53485588'
- 'bd095a848c198752307d6924eaa46d07af4fbbba70f4665e10c8b5dd8d2a84cb6d9ea6c25705463a6c054c5afa5af4c68030ad90d37953672c0fc609eaf24b07')
+ 'bd095a848c198752307d6924eaa46d07af4fbbba70f4665e10c8b5dd8d2a84cb6d9ea6c25705463a6c054c5afa5af4c68030ad90d37953672c0fc609eaf24b07'
+ '352c7d8e0452061d595000389fa9086d37beb3a1614fa13cfade15845d517011f6d1f7e7226bfe6ba36908105ea75f3f5364b5bc34c48b699f27894631ef9372')
prepare() {
mkdir build
@@ -58,6 +60,9 @@
# Fix build with proj 6.0
patch -Np1 -i ../proj6.patch
+ # Fix build with python 3.8
+ patch -p1 -i ../vtk-python-3.8.patch
+
# Fix build with Java 12
sed -i 's/VTK_JAVA_SOURCE_VERSION "1.6"/VTK_JAVA_SOURCE_VERSION "1.7"/
s/VTK_JAVA_TARGET_VERSION "1.6"/VTK_JAVA_TARGET_VERSION "1.7"/' Wrapping/Java/CMakeLists.txt
More information about the arch-commits
mailing list