summaryrefslogtreecommitdiff
path: root/sys-apps/fwupd/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-17 10:35:54 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-17 10:35:54 +0000
commit463397cf1e064185110fe57c568d73f99a06f5d1 (patch)
tree9aa75eefc5154eaf0e3c33658b830fc54dc68052 /sys-apps/fwupd/files
parentc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (diff)
gentoo resync : 17.02.2021
Diffstat (limited to 'sys-apps/fwupd/files')
-rw-r--r--sys-apps/fwupd/files/fwupd-1.5.6-gusb_deps.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/sys-apps/fwupd/files/fwupd-1.5.6-gusb_deps.patch b/sys-apps/fwupd/files/fwupd-1.5.6-gusb_deps.patch
new file mode 100644
index 000000000000..00c79d7853b8
--- /dev/null
+++ b/sys-apps/fwupd/files/fwupd-1.5.6-gusb_deps.patch
@@ -0,0 +1,44 @@
+From c74992c62a32080208baf137d61f7d73b0cade2d Mon Sep 17 00:00:00 2001
+From: Lars Wendler <polynomial-c@gentoo.org>
+Date: Tue, 16 Feb 2021 16:57:36 +0100
+Subject: [PATCH] system76-launch plugin requires gusb
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Otherwise the following build error happens:
+
+ ../fwupd-1.5.6/plugins/system76-launch/fu-system76-launch-device.c:117:9: error: ‘G_USB_DEVICE_CLAIM_INTERFACE_BIND_KERNEL_DRIVER’ undeclared (first use in this function)
+ 117 | G_USB_DEVICE_CLAIM_INTERFACE_BIND_KERNEL_DRIVER,
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+ ../fwupd-1.5.6/plugins/system76-launch/fu-system76-launch-device.c:133:11: error: ‘G_USB_DEVICE_CLAIM_INTERFACE_BIND_KERNEL_DRIVER’ undeclared (first use in this function)
+ 133 | G_USB_DEVICE_CLAIM_INTERFACE_BIND_KERNEL_DRIVER,
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+---
+ plugins/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/plugins/meson.build b/plugins/meson.build
+index 138c47a4..12c7cb31 100644
+--- a/plugins/meson.build
++++ b/plugins/meson.build
+@@ -25,7 +25,6 @@ subdir('ata')
+ subdir('elantp')
+ subdir('optionrom')
+ subdir('superio')
+-subdir('system76-launch')
+ subdir('thelio-io')
+ subdir('wacom-raw')
+ endif
+@@ -59,6 +58,7 @@ subdir('solokey')
+ subdir('steelseries')
+ subdir('synaptics-cxaudio')
+ subdir('synaptics-prometheus')
++subdir('system76-launch')
+ subdir('vli')
+ subdir('wacom-usb')
+
+--
+2.30.1
+