summaryrefslogtreecommitdiff
path: root/debian/patches/0130-chassis_bootparam.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0130-chassis_bootparam.patch')
-rw-r--r--debian/patches/0130-chassis_bootparam.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/0130-chassis_bootparam.patch b/debian/patches/0130-chassis_bootparam.patch
new file mode 100644
index 0000000..3e44bd1
--- /dev/null
+++ b/debian/patches/0130-chassis_bootparam.patch
@@ -0,0 +1,21 @@
+Description: fix 'chassis bootparam .. options=no-timeout'
+Author: <name and email of author, optional>
+Origin: https://codeberg.org/IPMITool/ipmitool/commit/b67f400825e55bd82f609f40c9c612b4c9961e3e
+Bug: https://codeberg.org/IPMITool/ipmitool/pulls/19
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099886
+Last-Update: 2025-03-21
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/lib/ipmi_chassis.c
+===================================================================
+--- trunk.orig/lib/ipmi_chassis.c
++++ trunk/lib/ipmi_chassis.c
+@@ -1049,7 +1049,7 @@ get_bootparam_options(char *optstring,
+ optionError = 1;
+ break;
+ }
+- if (!strcmp(token, "no-")) {
++ if (strncmp(token, "no-", 3) == 0) {
+ setbit = 1;
+ token += 3;
+ }