from Arch Linux https://gitlab.archlinux.org/archlinux/packaging/packages/opencv/-/blob/main/fix-nppi-bufsize-type.patch?ref_type=heads
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cebb6e2fdce12a8c5f81f1b19bd494469ace2786 commit cebb6e2fdce12a8c5f81f1b19bd494469ace2786 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2024-04-12 13:08:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-21 12:49:40 +0000 media-libs/opencv: bugfixes Closes: https://bugs.gentoo.org/929972 Closes: https://bugs.gentoo.org/928516 Closes: https://bugs.gentoo.org/928747 Closes: https://bugs.gentoo.org/927992 Closes: https://bugs.gentoo.org/927917 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36248 Signed-off-by: Sam James <sam@gentoo.org> .../opencv/files/opencv-4.9.0-cuda-12.4.patch | 70 ++++++++++++++++++++++ media-libs/opencv/opencv-4.8.1-r1.ebuild | 1 + media-libs/opencv/opencv-4.9.0.ebuild | 5 +- profiles/arch/amd64/use.mask | 4 ++ profiles/arch/arm64/package.use.force | 4 ++ profiles/arch/arm64/package.use.mask | 4 ++ profiles/arch/base/use.mask | 4 ++ profiles/arch/x86/use.mask | 4 ++ 8 files changed, 95 insertions(+), 1 deletion(-)
patch dont work
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4edaafa9cf27632b52d1cd385621943c12cb58f9 commit 4edaafa9cf27632b52d1cd385621943c12cb58f9 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2024-04-26 15:41:05 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2024-04-26 19:49:13 +0000 media-libs/opencv: limit cuda-12.4 again Still requires fixes from https://github.com/NVIDIA/cccl/pull/1522 Bug: https://bugs.gentoo.org/928747 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36437 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> ...v-4.9.0-cuda-12.4.patch => opencv_contrib-4.9.0-cuda-12.4.patch} | 0 media-libs/opencv/opencv-4.9.0.ebuild | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-)
4.10 is out and looks like it may have this fixed: https://github.com/opencv/opencv_contrib/issues/3690#issuecomment-2157312346