1 |
commit: bf3ee3557073e6b2680c59f319b6f46dc58202d3 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 25 09:32:47 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 25 09:36:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf3ee355 |
7 |
|
8 |
app-portage/iwdevtools: backport ldpath include fix |
9 |
|
10 |
Trivial 1-line change reverting to the old (proper) |
11 |
behavior, safe and not worth a new release for now. |
12 |
|
13 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
14 |
|
15 |
.../iwdevtools-0.10.1-ldpath-regression.patch | 22 ++++++++++++++++++++++ |
16 |
...s-0.10.1.ebuild => iwdevtools-0.10.1-r1.ebuild} | 4 ++++ |
17 |
2 files changed, 26 insertions(+) |
18 |
|
19 |
diff --git a/app-portage/iwdevtools/files/iwdevtools-0.10.1-ldpath-regression.patch b/app-portage/iwdevtools/files/iwdevtools-0.10.1-ldpath-regression.patch |
20 |
new file mode 100644 |
21 |
index 000000000000..5a5312639979 |
22 |
--- /dev/null |
23 |
+++ b/app-portage/iwdevtools/files/iwdevtools-0.10.1-ldpath-regression.patch |
24 |
@@ -0,0 +1,22 @@ |
25 |
+https://github.com/ionenwks/iwdevtools/commit/4e89c42455330b6660583ff1a4b54384346a123d |
26 |
+From: Ionen Wolkens <ionen@g.o> |
27 |
+Date: Fri, 25 Feb 2022 04:20:17 -0500 |
28 |
+Subject: [PATCH] qa-vdb: fix ldpath include regression |
29 |
+ |
30 |
+commit dd0bb44a3b190c756ce55c190b70f33bf350b7c5 was meant for |
31 |
+directories, however this is /not/ a directory. As a result |
32 |
+gcc's ld.so.conf wasn't included which could result in: |
33 |
+ |
34 |
+ * VDB: detected possibly incorrect RDEPEND (app-text/qpdf-10.6.2) |
35 |
+ * > cross-aarch64-unknown-linux-gnu/gcc:11 |
36 |
+--- a/scripts/qa-vdb |
37 |
++++ b/scripts/qa-vdb |
38 |
+@@ -674,7 +674,7 @@ _vdb-set_ldpath() { |
39 |
+ path=${1%/*}/${path} |
40 |
+ fi |
41 |
+ for path in ${path}; do |
42 |
+- [[ -d ${path} && -x ${path} ]] || continue # ignore bad includes |
43 |
++ [[ -r ${path} ]] || continue # ignore bad includes |
44 |
+ _vdb-set_ldpath "${path}" |
45 |
+ done |
46 |
+ fi |
47 |
|
48 |
diff --git a/app-portage/iwdevtools/iwdevtools-0.10.1.ebuild b/app-portage/iwdevtools/iwdevtools-0.10.1-r1.ebuild |
49 |
similarity index 96% |
50 |
rename from app-portage/iwdevtools/iwdevtools-0.10.1.ebuild |
51 |
rename to app-portage/iwdevtools/iwdevtools-0.10.1-r1.ebuild |
52 |
index 09262d7fea22..bc84297f29a9 100644 |
53 |
--- a/app-portage/iwdevtools/iwdevtools-0.10.1.ebuild |
54 |
+++ b/app-portage/iwdevtools/iwdevtools-0.10.1-r1.ebuild |
55 |
@@ -27,6 +27,10 @@ BDEPEND=" |
56 |
|| ( sys-apps/util-linux app-misc/getopt ) |
57 |
test? ( ${RDEPEND} )" |
58 |
|
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}"/${P}-ldpath-regression.patch |
61 |
+) |
62 |
+ |
63 |
src_configure() { |
64 |
local emesonargs=( |
65 |
-Ddocdir=${PF} |