commit: 0192361a29a7d434501dc046c572b4d868744069
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 3 02:20:02 2022 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Aug 3 02:21:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0192361a
sys-apps/systemd: simplify PATCHES code
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
sys-apps/systemd/systemd-251.3.ebuild | 8 +-------
sys-apps/systemd/systemd-9999.ebuild | 8 +-------
2 files changed, 2 insertions(+), 14 deletions(-)
diff --git a/sys-apps/systemd/systemd-251.3.ebuild
b/sys-apps/systemd/systemd-251.3.ebuild
index 6e5bdcbd47f9..e70496cd957b 100644
--- a/sys-apps/systemd/systemd-251.3.ebuild
+++ b/sys-apps/systemd/systemd-251.3.ebuild
@@ -234,13 +234,7 @@ src_unpack() {
}
src_prepare() {
- # Do NOT add patches here
- local PATCHES=()
-
- [[ -d "${WORKDIR}"/patches ]] && PATCHES+=( "${WORKDIR}"/patches )
-
- # Add local patches here
- PATCHES+=(
+ local PATCHES=(
# Breaks Clang. Revert the commit for now and force off F_S=3.
# bug #841770.
"${FILESDIR}/251-revert-fortify-source-3-fix.patch"
diff --git a/sys-apps/systemd/systemd-9999.ebuild
b/sys-apps/systemd/systemd-9999.ebuild
index b3bc091078ab..1a8b1c931c45 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -234,13 +234,7 @@ src_unpack() {
}
src_prepare() {
- # Do NOT add patches here
- local PATCHES=()
-
- [[ -d "${WORKDIR}"/patches ]] && PATCHES+=( "${WORKDIR}"/patches )
-
- # Add local patches here
- PATCHES+=(
+ local PATCHES=(
)
if ! use vanilla; then