commit:     9ff310d27823c5f998acce467a1dbf9d2c65faf5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 15 14:56:59 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 15 14:56:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ff310d2

app-misc/task: use PATCHES

Signed-off-by: Sam James <sam <AT> gentoo.org>

 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 c0a1aa1449a3..e06efb8d2e5e 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
 }

Reply via email to