]> git.feebdaed.xyz Git - 0xmirror/buildroot.git/commit
package/opencv3: add patch to fix CMake 4 build issue
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 26 Dec 2025 17:14:45 +0000 (18:14 +0100)
committerJulien Olivain <ju.o@free.fr>
Sat, 27 Dec 2025 14:37:13 +0000 (15:37 +0100)
commita63acfa0a37ef890023f637735f8b9fe2ba8a7aa
treebba0e326a3883d34ff30deed8c62e74ab4ea86b6
parent29641d1675756dd82486cff4d5f71321bd89cad2
package/opencv3: add patch to fix CMake 4 build issue

Add a small patch to fix CMake 4 build issues. Unfortunately, while
cmake/OpenCVMinDepVersions.cmake provides a MIN_VER_CMAKE that we
could pass on the command line, cmake/OpenCVGenPkgconfig.cmake doesn't
use it, so we anyway have to patch the package.

Since opencv3 is basically unmaintained, there is no point sending
this patch upstream.

Fixes:

  https://autobuild.buildroot.net/results/cc857993920607958dd817c6a877ed9386c05738/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
package/opencv3/0001-cmake-set-minimum-required-CMake-version-to-3.5.patch [new file with mode: 0644]