commit:     f1d33c8ab2b1bd675b08a84094138b17f85a14cd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May  4 07:25:09 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May  4 07:26:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1d33c8a

sys-apps/irqbalance: fix patch application

Note that the Meson build system was moved into the top-level in git
so this ugliness won't be needed in future.

Closes: https://bugs.gentoo.org/931190
Fixes: 42c7cfb8934774ff857d057195bfae649fad7b90
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild 
b/sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild
index 30094b283bf5..a856235646c3 100644
--- a/sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild
+++ b/sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild
@@ -33,10 +33,6 @@ RDEPEND="
        selinux? ( sec-policy/selinux-irqbalance )
 "
 
-PATCHES=(
-       "${FILESDIR}"/${P}-drop-protectkerneltunables.patch
-)
-
 pkg_setup() {
        CONFIG_CHECK="~PCI_MSI"
        linux-info_pkg_setup
@@ -45,6 +41,11 @@ pkg_setup() {
 src_prepare() {
        default
 
+       (
+               cd "${WORKDIR}"/${P} || die
+               eapply "${FILESDIR}"/${P}-drop-protectkerneltunables.patch
+       )
+
        # Follow systemd policies
        # https://wiki.gentoo.org/wiki/Project:Systemd/Ebuild_policy
        sed \

Reply via email to