summaryrefslogtreecommitdiffstats
path: root/libraries/VTK/VTK.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/VTK/VTK.SlackBuild')
-rw-r--r--libraries/VTK/VTK.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/VTK/VTK.SlackBuild b/libraries/VTK/VTK.SlackBuild
index ae29a67c07..e1e7c06b93 100644
--- a/libraries/VTK/VTK.SlackBuild
+++ b/libraries/VTK/VTK.SlackBuild
@@ -96,6 +96,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i '/include <QTextStream>/a #include <QPainterPath>' \
+ Rendering/Qt/vtkQtLabelRenderStrategy.cxx \
+ Rendering/Qt/vtkQtStringToImage.cxx
+
if pkg-config --exists proj ; then
proj="-DVTK_USE_SYSTEM_LIBPROJ:BOOL=ON"
# proj6 patch courtesy of