diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-08-01 04:34:15 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-08-01 04:39:33 -0400 |
commit | dec725db9a6e01516765f88e3bce77582d8c69a4 (patch) | |
tree | 8212ac5eab035f8b429009af98b5d37a1eb67eb9 /app-portage/iwdevtools | |
parent | mail-filter/spamassassin: remove 3.4.5-r1 (cleanup) (diff) | |
download | gentoo-dec725db9a6e01516765f88e3bce77582d8c69a4.tar.gz gentoo-dec725db9a6e01516765f88e3bce77582d8c69a4.tar.bz2 gentoo-dec725db9a6e01516765f88e3bce77582d8c69a4.zip |
app-portage/iwdevtools: backport rcd name display fix
Not bothering with a release over this, but still wanted
before stabling.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-portage/iwdevtools')
-rw-r--r-- | app-portage/iwdevtools/files/iwdevtools-0.11.5-rcd-plain-name.patch | 18 | ||||
-rw-r--r-- | app-portage/iwdevtools/iwdevtools-0.11.5-r1.ebuild (renamed from app-portage/iwdevtools/iwdevtools-0.11.5.ebuild) | 4 |
2 files changed, 22 insertions, 0 deletions
diff --git a/app-portage/iwdevtools/files/iwdevtools-0.11.5-rcd-plain-name.patch b/app-portage/iwdevtools/files/iwdevtools-0.11.5-rcd-plain-name.patch new file mode 100644 index 000000000000..dbb2ca17f887 --- /dev/null +++ b/app-portage/iwdevtools/files/iwdevtools-0.11.5-rcd-plain-name.patch @@ -0,0 +1,18 @@ +https://github.com/ionenwks/iwdevtools/commit/408fba9 +From: Ionen Wolkens <ionen@gentoo.org> +Date: Mon, 1 Aug 2022 04:28:49 -0400 +Subject: [PATCH] repo-cd: use plain name for error display + +Given doesn't look so nice with the [_-] addition: + ! no non-excluded match found for '*some[_-]name*' +--- a/scripts/repo-cd ++++ b/scripts/repo-cd +@@ -307,7 +307,7 @@ rcd-cd() { + done | mapfile -td '' choice + + if (( ! ${#choice[@]} )); then +- rcd-msg '!:r' "no non-excluded match found for '${C[m]}${search}${C[n]}'${userepo:+ in ::${userepo}}" ++ rcd-msg '!:r' "no non-excluded match found for '${C[m]}${name}${C[n]}'${userepo:+ in ::${userepo}}" + exit 104 + fi + diff --git a/app-portage/iwdevtools/iwdevtools-0.11.5.ebuild b/app-portage/iwdevtools/iwdevtools-0.11.5-r1.ebuild index 68858249d8a0..46e22b80aa3d 100644 --- a/app-portage/iwdevtools/iwdevtools-0.11.5.ebuild +++ b/app-portage/iwdevtools/iwdevtools-0.11.5-r1.ebuild @@ -29,6 +29,10 @@ BDEPEND=" || ( sys-apps/util-linux app-misc/getopt ) test? ( ${RDEPEND} )" +PATCHES=( + "${FILESDIR}"/${P}-rcd-plain-name.patch +) + src_configure() { local emesonargs=( -Ddocdir=${PF} |