1 |
commit: 7ad43fe5d48d4deb2c3a2a3e9dfb6af7c62dc2af |
2 |
Author: James Beddek <telans <AT> posteo <DOT> de> |
3 |
AuthorDate: Sat Oct 30 07:02:29 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 31 02:45:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad43fe5 |
7 |
|
8 |
sys-apps/fwupd: fix configure with USE=test,-gnutls |
9 |
|
10 |
See: https://github.com/fwupd/fwupd/pull/3921 |
11 |
|
12 |
Closes: https://bugs.gentoo.org/791760 |
13 |
Signed-off-by: James Beddek <telans <AT> posteo.de> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/22756 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
.../fwupd/files/fwupd-1.7.0-fix-test-configure.patch | 20 ++++++++++++++++++++ |
18 |
sys-apps/fwupd/fwupd-1.7.0.ebuild | 1 + |
19 |
2 files changed, 21 insertions(+) |
20 |
|
21 |
diff --git a/sys-apps/fwupd/files/fwupd-1.7.0-fix-test-configure.patch b/sys-apps/fwupd/files/fwupd-1.7.0-fix-test-configure.patch |
22 |
new file mode 100644 |
23 |
index 00000000000..4974a82bdf5 |
24 |
--- /dev/null |
25 |
+++ b/sys-apps/fwupd/files/fwupd-1.7.0-fix-test-configure.patch |
26 |
@@ -0,0 +1,20 @@ |
27 |
+# https://bugs.gentoo.org/791760 |
28 |
+# https://github.com/fwupd/fwupd/pull/3921 |
29 |
+ |
30 |
+diff --git a/plugins/synaptics-rmi/meson.build b/plugins/synaptics-rmi/meson.build |
31 |
+index acbb6b92..10ac3047 100644 |
32 |
+--- a/plugins/synaptics-rmi/meson.build |
33 |
++++ b/plugins/synaptics-rmi/meson.build |
34 |
+@@ -38,7 +38,6 @@ shared_module('fu_plugin_synaptics_rmi', |
35 |
+ fwupdplugin, |
36 |
+ ], |
37 |
+ ) |
38 |
+-endif |
39 |
+ |
40 |
+ if get_option('tests') |
41 |
+ e = executable( |
42 |
+@@ -67,3 +66,4 @@ if get_option('tests') |
43 |
+ ) |
44 |
+ test('synaptics-rmi-self-test', e) |
45 |
+ endif |
46 |
++endif |
47 |
|
48 |
diff --git a/sys-apps/fwupd/fwupd-1.7.0.ebuild b/sys-apps/fwupd/fwupd-1.7.0.ebuild |
49 |
index 4cf8e1b87b6..aa0388af005 100644 |
50 |
--- a/sys-apps/fwupd/fwupd-1.7.0.ebuild |
51 |
+++ b/sys-apps/fwupd/fwupd-1.7.0.ebuild |
52 |
@@ -91,6 +91,7 @@ DEPEND=" |
53 |
PATCHES=( |
54 |
"${FILESDIR}"/${PN}-1.5.7-logind_plugin.patch |
55 |
"${FILESDIR}"/${P}-elanfp-requires-gusb.patch |
56 |
+ "${FILESDIR}"/${P}-fix-test-configure.patch # bug 791760 |
57 |
) |
58 |
|
59 |
pkg_setup() { |