Date: Tue, 03 Mar 2026 08:35:03 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1e2de0601891 - main - graphics/opencv: Fix potential build issues due to lack of #include <iostream> Message-ID: <69a69d37.2695b.2e5e728c@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e2de06018913e77cd802ce1642939d271d10f37 commit 1e2de06018913e77cd802ce1642939d271d10f37 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-03-03 08:29:24 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-03-03 08:35:00 +0000 graphics/opencv: Fix potential build issues due to lack of #include <iostream> Reported by: Vladimir Druzenko <vvd@freebsd.org> --- ...b_modules_viz_src_vtk_vtkVizInteractorStyle.cpp | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/graphics/opencv/files/patch-contrib_modules_viz_src_vtk_vtkVizInteractorStyle.cpp b/graphics/opencv/files/patch-contrib_modules_viz_src_vtk_vtkVizInteractorStyle.cpp new file mode 100644 index 000000000000..e42ea697763f --- /dev/null +++ b/graphics/opencv/files/patch-contrib_modules_viz_src_vtk_vtkVizInteractorStyle.cpp @@ -0,0 +1,29 @@ +--- contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp.orig 2026-03-03 08:26:40 UTC ++++ contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp +@@ -45,6 +45,8 @@ + + #include "../precomp.hpp" + ++#include <iostream> ++ + namespace cv { namespace viz + { + vtkStandardNewMacro(vtkVizInteractorStyle) +@@ -96,7 +98,7 @@ void cv::viz::vtkVizInteractorStyle::saveScreenshot(co + snapshot_writer->SetFileName(file.c_str()); + snapshot_writer->Write(); + +- cout << "Screenshot successfully captured (" << file.c_str() << ")" << endl; ++ std::cout << "Screenshot successfully captured (" << file.c_str() << ")" << std::endl; + } + + ////////////////////////////////////////////////////////////////////////////////////////////// +@@ -118,7 +120,7 @@ void cv::viz::vtkVizInteractorStyle::exportScene(const + exporter->SetInput(Interactor->GetRenderWindow()); + exporter->Write(); + +- cout << "Scene successfully exported (" << file.c_str() << ")" << endl; ++ std::cout << "Scene successfully exported (" << file.c_str() << ")" << std::endl; + } + + void cv::viz::vtkVizInteractorStyle::exportScene()home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a69d37.2695b.2e5e728c>
