aboutsummaryrefslogtreecommitdiff
path: root/libraries/VTK/VTK.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/VTK/VTK.SlackBuild')
-rw-r--r--libraries/VTK/VTK.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/VTK/VTK.SlackBuild b/libraries/VTK/VTK.SlackBuild
index ae29a67c07c42..be7a516a3a185 100644
--- a/libraries/VTK/VTK.SlackBuild
+++ b/libraries/VTK/VTK.SlackBuild
@@ -105,6 +105,11 @@ else
proj=""
fi
+# https://github.com/archlinux/svntogit-community/blob/packages/vtk/trunk/PKGBUILD
+( cd ThirdParty/exodusII/vtkexodusII
+ patch -p1 < $CWD/patch-gcc10.diff )
+sed -i 's|REGEX MATCH \"\[3-9\]|REGEX MATCH \"[1-9][0-9]|' CMake/VTKGenerateExportHeader.cmake
+
mkdir -p build
cd build
cmake \