From 9ff310d27823c5f998acce467a1dbf9d2c65faf5 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 15 Sep 2025 15:56:59 +0100 Subject: [PATCH] app-misc/task: use PATCHES Signed-off-by: Sam James --- app-misc/task/task-2.6.2.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app-misc/task/task-2.6.2.ebuild b/app-misc/task/task-2.6.2.ebuild index c0a1aa1449a33..e06efb8d2e5e0 100644 --- a/app-misc/task/task-2.6.2.ebuild +++ b/app-misc/task/task-2.6.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -21,14 +21,16 @@ DEPEND=" " RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}/task-2.6.2-gcc15-cstdint-include.patch" +) + src_prepare() { # move test directory into source directory mv "${WORKDIR}"/test "${WORKDIR}"/${P} || die cmake_src_prepare - eapply "${FILESDIR}/task-2.6.2-gcc15-cstdint-include.patch" - # don't automatically install scripts sed -i '/scripts/d' CMakeLists.txt || die }