From 5828fefa54c6687d4fb6f5a90d764ee373c83f68 Mon Sep 17 00:00:00 2001 From: Zhu Qun-Ying Date: Wed, 17 Jun 2020 09:57:03 +0200 Subject: libraries/VTK: Patch for qt-5.15.x. Signed-off-by: Matteo Bernardini --- libraries/VTK/VTK.SlackBuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libraries/VTK') diff --git a/libraries/VTK/VTK.SlackBuild b/libraries/VTK/VTK.SlackBuild index be7a516a3a185..8767c4a0c4cd8 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 /a #include ' \ + 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 -- cgit v1.2.3