diff options
Diffstat (limited to 'app-misc/ddcutil/files/ddcutil-2.1.0-fix-build-with-usb-monitor-disabled.patch')
-rw-r--r-- | app-misc/ddcutil/files/ddcutil-2.1.0-fix-build-with-usb-monitor-disabled.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/app-misc/ddcutil/files/ddcutil-2.1.0-fix-build-with-usb-monitor-disabled.patch b/app-misc/ddcutil/files/ddcutil-2.1.0-fix-build-with-usb-monitor-disabled.patch deleted file mode 100644 index 199bf1b1563b..000000000000 --- a/app-misc/ddcutil/files/ddcutil-2.1.0-fix-build-with-usb-monitor-disabled.patch +++ /dev/null @@ -1,34 +0,0 @@ -From a3ad6164977d250cc03d6bb33719814ee34efdfb Mon Sep 17 00:00:00 2001 -From: Sanford Rockowitz <rockowitz@minsoft.com> -Date: Mon, 22 Jan 2024 18:58:34 -0500 -Subject: [PATCH] missing ifdef around USB only setting (fixes #369) - ---- - src/cmdline/parsed_cmd.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/cmdline/parsed_cmd.c b/src/cmdline/parsed_cmd.c -index a4e2c080..f5f6ac85 100644 ---- a/src/cmdline/parsed_cmd.c -+++ b/src/cmdline/parsed_cmd.c -@@ -135,8 +135,10 @@ Parsed_Cmd * new_parsed_cmd() { - g_array_set_clear_func(parsed_cmd->setvcp_values, destroy_parsed_setvcp_value); - if (DEFAULT_ENABLE_UDF) - parsed_cmd->flags |= CMD_FLAG_ENABLE_UDF; -+#ifdef ENABLE_USB - if (DEFAULT_ENABLE_USB) - parsed_cmd->flags |= CMD_FLAG_ENABLE_USB; -+#endif - if (DEFAULT_ENABLE_CACHED_CAPABILITIES) - parsed_cmd->flags |= CMD_FLAG_ENABLE_CACHED_CAPABILITIES; - return parsed_cmd; -@@ -248,7 +250,9 @@ void dbgrpt_parsed_cmd(Parsed_Cmd * parsed_cmd, int depth) { - - rpt_nl(); - rpt_label(depth, "Display Selection"); -+#ifdef ENABLE_USB - rpt_bool("enable usb", NULL, parsed_cmd->flags & CMD_FLAG_ENABLE_USB, d1); -+#endif - rpt_structure_loc("pdid", parsed_cmd->pdid, d1); - if (parsed_cmd->pdid) - dbgrpt_display_identifier(parsed_cmd->pdid, d2); |