head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.10 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.8 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.6 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.4 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.2 pkgsrc-2025Q1-base:1.1; locks; strict; comment @// @; 1.1 date 2025.02.07.21.57.08; author wiz; state Exp; branches; next ; commitid uRbaTdeeqjiImAIF; desc @@ 1.1 log @opencv-contrib-face: update to 4.11.0. To match opencv. @ text @$NetBSD: patch-modules_core_src_downhill__simplex.cpp,v 1.1 2015/10/08 17:45:59 fhajny Exp $ Avoid DS conflict on SunOS. --- modules/core/src/downhill_simplex.cpp.orig 2015-06-03 17:21:34.000000000 +0000 +++ modules/core/src/downhill_simplex.cpp @@@@ -450,6 +450,9 @@@@ protected: }; +#if defined(__sun) +#undef DS +#endif // both minRange & minError are specified by termcrit.epsilon; // In addition, user may specify the number of iterations that the algorithm does. Ptr DownhillSolver::create( const Ptr& f, @