diff --git a/sys-kernel/hardened-kernel/hardened-kernel-6.12.4.ebuild b/sys-kernel/hardened-kernel/hardened-kernel-6.12.4.ebuild index 6c468cb..76c802f 100644 --- a/sys-kernel/hardened-kernel/hardened-kernel-6.12.4.ebuild +++ b/sys-kernel/hardened-kernel/hardened-kernel-6.12.4.ebuild @@ -88,6 +88,11 @@ src_prepare() { # include linux-hardened patch with priority cp ${DISTDIR}/linux-hardened-v${HARDENED_PATCH_VER}.patch ${WORKDIR}/1199_linux-hardened-${HARDENED_PATCH_VER}.patch + # copy pkg maintainer supplied patches + if [ -d "${FILESDIR}/${MY_P}" ]; then + cp "${FILESDIR}/${MY_P}"/*.patch ${WORKDIR}/ + fi + local PATCHES=( # meh, genpatches have no directory "${WORKDIR}"/*.patch