git: fd109706991a - main - graphics/opencv: Fix build issue with VTK option enabled due to lack of #include <iostream>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Mar 2026 13:16:55 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fd109706991af56f37679d3d985fda827a282a27
commit fd109706991af56f37679d3d985fda827a282a27
Author: Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-03-03 13:12:07 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-03-03 13:13:41 +0000
graphics/opencv: Fix build issue with VTK option enabled due to lack of #include <iostream>
Approved by: portmgr (blanket - fix build)
---
.../opencv/files/patch-contrib_modules_viz_src_widget.cpp | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/graphics/opencv/files/patch-contrib_modules_viz_src_widget.cpp b/graphics/opencv/files/patch-contrib_modules_viz_src_widget.cpp
new file mode 100644
index 000000000000..72446e1a768a
--- /dev/null
+++ b/graphics/opencv/files/patch-contrib_modules_viz_src_widget.cpp
@@ -0,0 +1,11 @@
+--- contrib/modules/viz/src/widget.cpp.orig 2025-12-16 10:59:36 UTC
++++ contrib/modules/viz/src/widget.cpp
+@@ -45,6 +45,8 @@
+
+ #include "precomp.hpp"
+
++#include <iostream>
++
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// widget implementation
+