summaryrefslogtreecommitdiff
path: root/dev-libs/cJSON/cJSON-1.7.18.ebuild
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2025-04-23 11:05:50 -0400
committerMatt Turner <mattst88@gentoo.org>2025-04-23 11:10:02 -0400
commit9305f5dd28b0ae32db1d14c9629accbd3114cf2a (patch)
tree5131fd52526f6219cdf0ed676569cfba0623327e /dev-libs/cJSON/cJSON-1.7.18.ebuild
parent3ba318e113caaa573ee6c2ce8360a8c6f5b1167d (diff)
downloadgentoo-9305f5dd28b0ae32db1d14c9629accbd3114cf2a.tar.gz
gentoo-9305f5dd28b0ae32db1d14c9629accbd3114cf2a.tar.bz2
gentoo-9305f5dd28b0ae32db1d14c9629accbd3114cf2a.zip
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>
Diffstat (limited to 'dev-libs/cJSON/cJSON-1.7.18.ebuild')
-rw-r--r--dev-libs/cJSON/cJSON-1.7.18.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-libs/cJSON/cJSON-1.7.18.ebuild b/dev-libs/cJSON/cJSON-1.7.18.ebuild
index 44295cfe95b2..43df8dc36ae0 100644
--- a/dev-libs/cJSON/cJSON-1.7.18.ebuild
+++ b/dev-libs/cJSON/cJSON-1.7.18.ebuild
@@ -15,6 +15,10 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"
+PATCHES=(
+ "${FILESDIR}"/${PV}-cmake4.patch
+)
+
src_prepare() {
cmake_src_prepare