summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-08-02 22:20:02 -0400
committerMike Gilbert <floppym@gentoo.org>2022-08-02 22:21:39 -0400
commit0192361a29a7d434501dc046c572b4d868744069 (patch)
treeb1928b6fe30b0782b2c7f5f6b5be979429ad51f0 /sys-apps
parentapp-emulation/diskimage-builder: 3.23.0 bump (diff)
downloadgentoo-0192361a29a7d434501dc046c572b4d868744069.tar.gz
gentoo-0192361a29a7d434501dc046c572b4d868744069.tar.bz2
gentoo-0192361a29a7d434501dc046c572b4d868744069.zip
sys-apps/systemd: simplify PATCHES code
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/systemd/systemd-251.3.ebuild8
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild8
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