summaryrefslogtreecommitdiff
path: root/eclass/epatch.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /eclass/epatch.eclass
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'eclass/epatch.eclass')
-rw-r--r--eclass/epatch.eclass13
1 files changed, 7 insertions, 6 deletions
diff --git a/eclass/epatch.eclass b/eclass/epatch.eclass
index fbb4f0b5bc0d..5d18befe55b9 100644
--- a/eclass/epatch.eclass
+++ b/eclass/epatch.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: epatch.eclass
@@ -294,7 +294,7 @@ epatch() {
local rel_paths=$(egrep -n '^[-+]{3} [^ ]*[.][.]/' "${PATCH_TARGET}")
if [[ -n ${rel_paths} ]] ; then
echo
- eerror "Rejected Patch: ${patchname} !"
+ eerror "Rejected Patch: ${patchname}!"
eerror " ( ${PATCH_TARGET} )"
eerror
eerror "Your patch uses relative paths '../':"
@@ -359,14 +359,14 @@ epatch() {
if [[ ${count} -ge 5 ]] ; then
echo
- eerror "Failed Patch: ${patchname} !"
+ eerror "Failed patch: ${patchname}!"
eerror " ( ${PATCH_TARGET} )"
eerror
- eerror "Include in your bugreport the contents of:"
+ eerror "Include in your bug report the contents of:"
eerror
eerror " ${STDERR_TARGET}"
echo
- die "Failed Patch: ${patchname}!"
+ die "Failed patch: ${patchname}!"
fi
# if everything worked, delete the full debug patch log
@@ -389,7 +389,8 @@ epatch() {
case ${EAPI:-0} in
0|1|2|3|4|5)
-# @VARIABLE: EPATCH_USER_SOURCE
+# @ECLASS_VARIABLE: EPATCH_USER_SOURCE
+# @USER_VARIABLE
# @DESCRIPTION:
# Location for user patches, see the epatch_user function.
# Should be set by the user. Don't set this in ebuilds.