Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ipmitool for openSUSE:Factory 
checked in at 2024-08-10 19:05:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ipmitool (Old)
 and      /work/SRC/openSUSE:Factory/.ipmitool.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ipmitool"

Sat Aug 10 19:05:49 2024 rev:49 rq:1192527 version:1.8.19.13.gbe11d94

Changes:
--------
--- /work/SRC/openSUSE:Factory/ipmitool/ipmitool.changes        2023-11-09 
21:34:47.267535435 +0100
+++ /work/SRC/openSUSE:Factory/.ipmitool.new.7232/ipmitool.changes      
2024-08-10 19:05:52.708994577 +0200
@@ -1,0 +2,7 @@
+Wed Jul 10 13:07:32 UTC 2024 - Martin Jambor <mjam...@suse.com>
+
+- Added ipmitool-fix_init_from_incompat_ptr_type.patch fixing a type
+  which led to assignment from incompatible pointer type which is an
+  error in GCC 14 [boo#1225992]
+
+-------------------------------------------------------------------

New:
----
  ipmitool-fix_init_from_incompat_ptr_type.patch

BETA DEBUG BEGIN:
  New:
- Added ipmitool-fix_init_from_incompat_ptr_type.patch fixing a type
  which led to assignment from incompatible pointer type which is an
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ipmitool.spec ++++++
--- /var/tmp/diff_new_pack.FWWiqi/_old  2024-08-10 19:05:54.853083603 +0200
+++ /var/tmp/diff_new_pack.FWWiqi/_new  2024-08-10 19:05:54.857083769 +0200
@@ -34,6 +34,7 @@
 Patch5:         0005-HPM-x-compatibility-message-is-DEBUG-only.patch
 Patch6:         Fix-time-format-for-sel-list-v.patch
 Patch7:         
lanp-Fix-error-response-from-Unsupported-Parameter-lookup.patch.txt
+Patch8:         ipmitool-fix_init_from_incompat_ptr_type.patch
 BuildRequires:  libtool
 BuildRequires:  openssl-devel
 BuildRequires:  readline-devel

++++++ ipmitool-fix_init_from_incompat_ptr_type.patch ++++++
>From 497fce4461611feb949bdb6f8cc7ea251552f02a Mon Sep 17 00:00:00 2001
From: Martin Jambor <mjam...@suse.cz>
Date: Wed, 10 Jul 2024 14:37:49 +0200
Subject: [PATCH] Fix GCC 14 initialization from incompatible pointer error
Upstream: project archived
References: boo#1225992

In file lib/ipmi_fru.c in function fru_area_print_multirec, local
variable mmh which is of type "struct fru_multirec_mgmt *" is
initialized with a type-cast to type "(struct fru_multirect_mgmt *)" -
note the t in multirect.  This causes a compile error by default with
GCC 14.  This patch fixes the typo to avoid the issue.

Signed-off-by: Martin Jambor <mjam...@suse.cz>
---
 lib/ipmi_fru.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ipmi_fru.c b/lib/ipmi_fru.c
index 4d1dbbb..90b2a63 100644
--- a/lib/ipmi_fru.c
+++ b/lib/ipmi_fru.c
@@ -1553,7 +1553,7 @@ fru_area_print_multirec(struct ipmi_intf * intf, struct 
fru_info * fru,
                case FRU_RECORD_TYPE_MANAGEMENT_ACCESS:
                        {
                                struct fru_multirec_mgmt *mmh =
-                                       (struct fru_multirect_mgmt *)
+                                       (struct fru_multirec_mgmt *)
                                        &fru_data[sizeof(struct 
fru_multirec_header)];
                                size_t datalen = h->len - sizeof(*mmh);
                                struct {
-- 
2.45.2

Reply via email to