From 7ad43fe5d48d4deb2c3a2a3e9dfb6af7c62dc2af Mon Sep 17 00:00:00 2001 From: James Beddek Date: Sat, 30 Oct 2021 20:02:29 +1300 Subject: [PATCH] sys-apps/fwupd: fix configure with USE=test,-gnutls See: https://github.com/fwupd/fwupd/pull/3921 Closes: https://bugs.gentoo.org/791760 Signed-off-by: James Beddek Closes: https://github.com/gentoo/gentoo/pull/22756 Signed-off-by: Sam James --- .../fwupd-1.7.0-fix-test-configure.patch | 20 +++++++++++++++++++ sys-apps/fwupd/fwupd-1.7.0.ebuild | 1 + 2 files changed, 21 insertions(+) create mode 100644 sys-apps/fwupd/files/fwupd-1.7.0-fix-test-configure.patch 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 new file mode 100644 index 0000000000000..4974a82bdf52e --- /dev/null +++ b/sys-apps/fwupd/files/fwupd-1.7.0-fix-test-configure.patch @@ -0,0 +1,20 @@ +# https://bugs.gentoo.org/791760 +# https://github.com/fwupd/fwupd/pull/3921 + +diff --git a/plugins/synaptics-rmi/meson.build b/plugins/synaptics-rmi/meson.build +index acbb6b92..10ac3047 100644 +--- a/plugins/synaptics-rmi/meson.build ++++ b/plugins/synaptics-rmi/meson.build +@@ -38,7 +38,6 @@ shared_module('fu_plugin_synaptics_rmi', + fwupdplugin, + ], + ) +-endif + + if get_option('tests') + e = executable( +@@ -67,3 +66,4 @@ if get_option('tests') + ) + test('synaptics-rmi-self-test', e) + endif ++endif diff --git a/sys-apps/fwupd/fwupd-1.7.0.ebuild b/sys-apps/fwupd/fwupd-1.7.0.ebuild index 4cf8e1b87b63e..aa0388af00546 100644 --- a/sys-apps/fwupd/fwupd-1.7.0.ebuild +++ b/sys-apps/fwupd/fwupd-1.7.0.ebuild @@ -91,6 +91,7 @@ DEPEND=" PATCHES=( "${FILESDIR}"/${PN}-1.5.7-logind_plugin.patch "${FILESDIR}"/${P}-elanfp-requires-gusb.patch + "${FILESDIR}"/${P}-fix-test-configure.patch # bug 791760 ) pkg_setup() {