1 |
commit: dec725db9a6e01516765f88e3bce77582d8c69a4 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 1 08:34:15 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 1 08:39:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dec725db |
7 |
|
8 |
app-portage/iwdevtools: backport rcd name display fix |
9 |
|
10 |
Not bothering with a release over this, but still wanted |
11 |
before stabling. |
12 |
|
13 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
14 |
|
15 |
.../files/iwdevtools-0.11.5-rcd-plain-name.patch | 18 ++++++++++++++++++ |
16 |
...tools-0.11.5.ebuild => iwdevtools-0.11.5-r1.ebuild} | 4 ++++ |
17 |
2 files changed, 22 insertions(+) |
18 |
|
19 |
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 |
20 |
new file mode 100644 |
21 |
index 000000000000..dbb2ca17f887 |
22 |
--- /dev/null |
23 |
+++ b/app-portage/iwdevtools/files/iwdevtools-0.11.5-rcd-plain-name.patch |
24 |
@@ -0,0 +1,18 @@ |
25 |
+https://github.com/ionenwks/iwdevtools/commit/408fba9 |
26 |
+From: Ionen Wolkens <ionen@g.o> |
27 |
+Date: Mon, 1 Aug 2022 04:28:49 -0400 |
28 |
+Subject: [PATCH] repo-cd: use plain name for error display |
29 |
+ |
30 |
+Given doesn't look so nice with the [_-] addition: |
31 |
+ ! no non-excluded match found for '*some[_-]name*' |
32 |
+--- a/scripts/repo-cd |
33 |
++++ b/scripts/repo-cd |
34 |
+@@ -307,7 +307,7 @@ rcd-cd() { |
35 |
+ done | mapfile -td '' choice |
36 |
+ |
37 |
+ if (( ! ${#choice[@]} )); then |
38 |
+- rcd-msg '!:r' "no non-excluded match found for '${C[m]}${search}${C[n]}'${userepo:+ in ::${userepo}}" |
39 |
++ rcd-msg '!:r' "no non-excluded match found for '${C[m]}${name}${C[n]}'${userepo:+ in ::${userepo}}" |
40 |
+ exit 104 |
41 |
+ fi |
42 |
+ |
43 |
|
44 |
diff --git a/app-portage/iwdevtools/iwdevtools-0.11.5.ebuild b/app-portage/iwdevtools/iwdevtools-0.11.5-r1.ebuild |
45 |
similarity index 97% |
46 |
rename from app-portage/iwdevtools/iwdevtools-0.11.5.ebuild |
47 |
rename to app-portage/iwdevtools/iwdevtools-0.11.5-r1.ebuild |
48 |
index 68858249d8a0..46e22b80aa3d 100644 |
49 |
--- a/app-portage/iwdevtools/iwdevtools-0.11.5.ebuild |
50 |
+++ b/app-portage/iwdevtools/iwdevtools-0.11.5-r1.ebuild |
51 |
@@ -29,6 +29,10 @@ BDEPEND=" |
52 |
|| ( sys-apps/util-linux app-misc/getopt ) |
53 |
test? ( ${RDEPEND} )" |
54 |
|
55 |
+PATCHES=( |
56 |
+ "${FILESDIR}"/${P}-rcd-plain-name.patch |
57 |
+) |
58 |
+ |
59 |
src_configure() { |
60 |
local emesonargs=( |
61 |
-Ddocdir=${PF} |