diff options
author | Sam James <sam@gentoo.org> | 2024-05-04 08:25:09 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-05-04 08:26:17 +0100 |
commit | f1d33c8ab2b1bd675b08a84094138b17f85a14cd (patch) | |
tree | e5e533d7d1a69ae984dba8897ee33713642b5d87 /sys-apps | |
parent | dev-python/unasync: Add missing RDEPEND (diff) | |
download | gentoo-f1d33c8ab2b1bd675b08a84094138b17f85a14cd.tar.gz gentoo-f1d33c8ab2b1bd675b08a84094138b17f85a14cd.tar.bz2 gentoo-f1d33c8ab2b1bd675b08a84094138b17f85a14cd.zip |
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@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild | 9 |
1 files 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 \ |