From 2241910f70dc680310133918b1b7e038d4264080 Mon Sep 17 00:00:00 2001 From: Bernhard Froehlich Date: Sun, 9 Nov 2025 19:24:44 +0000 Subject: sysutils/fwupd: Update to 2.0.17 and fix two testcases --- sysutils/fwupd/files/patch-libfwupdplugin_fu-kernel.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sysutils/fwupd/files/patch-libfwupdplugin_fu-kernel.c (limited to 'sysutils/fwupd/files/patch-libfwupdplugin_fu-kernel.c') diff --git a/sysutils/fwupd/files/patch-libfwupdplugin_fu-kernel.c b/sysutils/fwupd/files/patch-libfwupdplugin_fu-kernel.c new file mode 100644 index 000000000000..47d1e1e0594e --- /dev/null +++ b/sysutils/fwupd/files/patch-libfwupdplugin_fu-kernel.c @@ -0,0 +1,12 @@ +--- libfwupdplugin/fu-kernel.c.orig 2025-09-12 09:55:19 UTC ++++ libfwupdplugin/fu-kernel.c +@@ -329,6 +329,9 @@ fu_kernel_get_cmdline(GError **error) + if (!g_file_get_contents("/proc/cmdline", &buf, &bufsz, error)) + return NULL; + return fu_kernel_parse_cmdline(buf, bufsz); ++#elif defined(__FreeBSD__) ++ // XXX: there is no /proc/cmdline equivalent ++ return fu_kernel_parse_cmdline("", 0); + #else + g_set_error_literal(error, + FWUPD_ERROR, -- cgit v1.2.3