diff options
author | Zhu Qun-Ying <zhu.qunying@gmail.com> | 2020-06-17 09:57:03 +0200 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2021-04-18 12:22:48 +0200 |
commit | 5828fefa54c6687d4fb6f5a90d764ee373c83f68 (patch) | |
tree | e82b179f6f8169d62546df1788d90660236cc87e /libraries | |
parent | 44f43313d935b3778cf90763c7eb6b1f8d7a9a44 (diff) | |
download | slackbuilds-5828fefa54c6687d4fb6f5a90d764ee373c83f68.tar.gz |
libraries/VTK: Patch for qt-5.15.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/VTK/VTK.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/VTK/VTK.SlackBuild b/libraries/VTK/VTK.SlackBuild index be7a516a3a..8767c4a0c4 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 |