commit: e4127b5368d9ef522f77070b86b81af2c4726307 Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com> AuthorDate: Sun Sep 7 07:59:49 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Sep 7 16:47:45 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4127b53
media-libs/opencv: 4.11.0 explicitly pass DEBUG/NDEBUG This is stripped by cleaning the default BUILD_TYPE flags in cmake.eclass, but opencv expects and uses it. So we need to explicitly pass it. Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43701 Closes: https://github.com/gentoo/gentoo/pull/43701 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/opencv/opencv-4.11.0-r1.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/media-libs/opencv/opencv-4.11.0-r1.ebuild b/media-libs/opencv/opencv-4.11.0-r1.ebuild index b16b161fcb09..6da0024da9d0 100644 --- a/media-libs/opencv/opencv-4.11.0-r1.ebuild +++ b/media-libs/opencv/opencv-4.11.0-r1.ebuild @@ -696,6 +696,8 @@ multilib_src_configure() { # bug #919101 and https://github.com/opencv/opencv/issues/19020 filter-lto + append-cppflags "$(usex debug '-DDEBUG' '-DNDEBUG')" + # please don't sort here, order is the same as in CMakeLists.txt local mycmakeargs=( -DMIN_VER_CMAKE=3.26
