Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package parted for openSUSE:Factory checked 
in at 2025-01-23 17:56:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/parted (Old)
 and      /work/SRC/openSUSE:Factory/.parted.new.5589 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "parted"

Thu Jan 23 17:56:43 2025 rev:143 rq:1239472 version:3.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/parted/parted.changes    2024-02-23 
16:40:45.473394102 +0100
+++ /work/SRC/openSUSE:Factory/.parted.new.5589/parted.changes  2025-01-23 
17:57:00.299311209 +0100
@@ -1,0 +2,7 @@
+Wed Jan 22 10:35:05 CET 2025 - [email protected]
+
+- fixed build with gcc15
+  added patches:
+  - parted-do-version.patch
+
+-------------------------------------------------------------------

New:
----
  parted-do-version.patch

BETA DEBUG BEGIN:
  New:  added patches:
  - parted-do-version.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ parted.spec ++++++
--- /var/tmp/diff_new_pack.5QyhE6/_old  2025-01-23 17:57:01.323353478 +0100
+++ /var/tmp/diff_new_pack.5QyhE6/_new  2025-01-23 17:57:01.327353643 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package parted
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -59,6 +59,7 @@
 Patch36:        libparted-linux-pmem-path.patch
 # bsc#1164260
 Patch37:        parted-print-max-partitions-for-yast.patch
+Patch38:        parted-do-version.patch
 # bsc#1164907
 # Fatresize
 Patch100:       parted-fatresize-autoconf.patch


++++++ parted-do-version.patch ++++++
commit 16343bda6ce0d41edf43f8dac368db3bbb63d271
Author: Rudi Heitbaum <[email protected]>
Date:   Wed Nov 20 12:22:22 2024 +0000

    bug#74444: [PATCH] parted: fix do_version declaration
    
    With gcc 15-20241117 compile fails with the below error, update the
    do_version declaration to match the header in command.h
    
    ../../parted/parted.c: In function '_init_commands':
    ../../parted/parted.c:2469:9: error: passing argument 2 of 'command_create' 
from incompatible pointer type [-Wincompatible-pointer-types]
     2469 |         do_version,
          |         ^~~~~~~~~~
          |         |
          |         int (*)(void)
    In file included from ../../parted/parted.c:28:
    ../../parted/command.h:35:39: note: expected 'int (*)(PedDevice **, PedDisk 
**)' {aka 'int (*)(struct _PedDevice **, struct _PedDisk **)'} but argument is 
of type 'int (*)(void)'
       35 |                                 int (*method) (PedDevice** dev, 
PedDisk** diskp),
          |                                 
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    Signed-off-by: Rudi Heitbaum <[email protected]>
    Signed-off-by: Brian C. Lane <[email protected]>

diff --git a/parted/parted.c b/parted/parted.c
index 3abb52f..fc2aeba 100644
--- a/parted/parted.c
+++ b/parted/parted.c
@@ -2172,7 +2172,7 @@ do_unit (PedDevice** dev, PedDisk** diskp)
 }
 
 static int
-do_version ()
+do_version (PedDevice** dev, PedDisk** diskp)
 {
     printf ("\n%s\n%s",
             prog_name,

Reply via email to