aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fwupd/files/patch-plugins_gpio_meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/fwupd/files/patch-plugins_gpio_meson.build')
-rw-r--r--sysutils/fwupd/files/patch-plugins_gpio_meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysutils/fwupd/files/patch-plugins_gpio_meson.build b/sysutils/fwupd/files/patch-plugins_gpio_meson.build
new file mode 100644
index 000000000000..2d9dae5e1b24
--- /dev/null
+++ b/sysutils/fwupd/files/patch-plugins_gpio_meson.build
@@ -0,0 +1,8 @@
+--- plugins/gpio/meson.build.orig 2025-09-12 09:55:19 UTC
++++ plugins/gpio/meson.build
+@@ -1,4 +1,4 @@
+-host_machine.system() == 'linux' or subdir_done()
++host_machine.system() in ['linux', 'freebsd'] or subdir_done()
+ cc.has_header_symbol('linux/gpio.h', 'GPIO_V2_LINE_FLAG_OUTPUT', required: false) or subdir_done()
+
+ cargs = ['-DG_LOG_DOMAIN="FuPluginGpio"']