summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2022-10-30 18:12:23 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2022-10-30 18:12:23 +0100
commit94fe5c9835c68aee3dc50cb2308bbdafaa960ef9 (patch)
tree260b922ec4d5d153cc6db745e27931cfd464472f /debian/patches
parent58757e3ad7fbb8ab37e44aa8f2879fd486139db5 (diff)
parent1f3c9b4ae26ce1d46d954d509b83b8684ada5625 (diff)
Merge tag 'debian/1.8.19-1' into develop
New upstream release
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0105-sensor_reading.patch35
-rw-r--r--debian/patches/series1
2 files changed, 36 insertions, 0 deletions
diff --git a/debian/patches/0105-sensor_reading.patch b/debian/patches/0105-sensor_reading.patch
new file mode 100644
index 0000000..edde4a0
--- /dev/null
+++ b/debian/patches/0105-sensor_reading.patch
@@ -0,0 +1,35 @@
+Description: Fix soensor reading
+Author: mareedu srinivasa rao
+Origin: upstream, https://sourceforge.net/p/ipmitool/bugs/490/
+Bug: https://sourceforge.net/p/ipmitool/bugs/490/
+Bug-debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983082
+Forwarded: not-needed
+Last-Update: 2022-10-29
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/lib/ipmi_sdr.c
+===================================================================
+--- trunk.orig/lib/ipmi_sdr.c
++++ trunk/lib/ipmi_sdr.c
+@@ -1799,7 +1799,7 @@ ipmi_sdr_print_sensor_fc(struct ipmi_int
+ sr->s_a_units);
+ } else /* Discrete */
+ snprintf(sval, sizeof(sval),
+- "0x%02x", sr->s_reading);
++ "0x%02x", sr->s_data2);
+ }
+ else if (sr->s_scanning_disabled)
+ snprintf(sval, sizeof (sval), sr->full ? "disabled" : "Not Readable");
+Index: trunk/lib/ipmi_sensor.c
+===================================================================
+--- trunk.orig/lib/ipmi_sensor.c
++++ trunk/lib/ipmi_sensor.c
+@@ -201,7 +201,7 @@ ipmi_sensor_print_fc_discrete(struct ipm
+ sr->s_a_str, sr->s_a_units, "ok");
+ } else {
+ printf("| 0x%-8x | %-10s | 0x%02x%02x",
+- sr->s_reading, "discrete",
++ sr->s_data2, "discrete",
+ sr->s_data2, sr->s_data3);
+ }
+ } else {
diff --git a/debian/patches/series b/debian/patches/series
index 5200085..e7d92ed 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+0105-sensor_reading.patch
0620-manpage_typo.patch
0700-build.patch
0100-fix_buf_overflow.patch