The usual cmake-4 breakage: https://github.com/DaveGamble/cJSON/blob/12c4bf1986c288950a3d06da757109a6aa1ece38/CMakeLists.txt#L2 shows cmake_minimum_required(3.0) Reproducible: Always
I just saw that the linked PR only updates to 3.5 - that should probably be 3.10, otherwise cmake will complain about more pending deprecation.
Created attachment 925700 [details, diff] Trivial patch to raise minimum cmake version
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9305f5dd28b0ae32db1d14c9629accbd3114cf2a commit 9305f5dd28b0ae32db1d14c9629accbd3114cf2a Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2025-04-23 15:05:50 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2025-04-23 15:10:02 +0000 dev-libs/cJSON: Add patch to fix build with cmake-4 Closes: https://bugs.gentoo.org/954223 Signed-off-by: Matt Turner <mattst88@gentoo.org> dev-libs/cJSON/cJSON-1.7.18.ebuild | 4 ++++ dev-libs/cJSON/files/1.7.18-cmake4.patch | 13 +++++++++++++ 2 files changed, 17 insertions(+)