git: 1aa59c0adcf8 - main - science/paraview: Unbreak build after math/exprtk update to 0.0.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Mar 2023 05:09:14 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1aa59c0adcf853d22375c0c8304a326ffc483056
commit 1aa59c0adcf853d22375c0c8304a326ffc483056
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-03-20 05:06:02 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-03-20 05:09:08 +0000
science/paraview: Unbreak build after math/exprtk update to 0.0.2
The bundled VTK is missing the <sstream> include.
Reported by: thierry@
---
.../files/patch-VTK_Common_Misc_vtkExprTkFunctionParser.cxx | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/science/paraview/files/patch-VTK_Common_Misc_vtkExprTkFunctionParser.cxx b/science/paraview/files/patch-VTK_Common_Misc_vtkExprTkFunctionParser.cxx
new file mode 100644
index 000000000000..3507e242e481
--- /dev/null
+++ b/science/paraview/files/patch-VTK_Common_Misc_vtkExprTkFunctionParser.cxx
@@ -0,0 +1,12 @@
+- unbreak bundled VTK after math/exprtk update to 0.0.2
+
+--- VTK/Common/Misc/vtkExprTkFunctionParser.cxx.orig 2023-03-20 04:03:14 UTC
++++ VTK/Common/Misc/vtkExprTkFunctionParser.cxx
+@@ -19,6 +19,7 @@
+ #include <cctype>
+ #include <random>
+ #include <regex>
++#include <sstream>
+
+ // exprtk macros
+ #define exprtk_disable_string_capabilities