Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pmacct for openSUSE:Factory checked 
in at 2025-03-11 20:46:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pmacct (Old)
 and      /work/SRC/openSUSE:Factory/.pmacct.new.19136 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pmacct"

Tue Mar 11 20:46:42 2025 rev:14 rq:1252056 version:1.7.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/pmacct/pmacct.changes    2024-11-15 
15:43:02.073900111 +0100
+++ /work/SRC/openSUSE:Factory/.pmacct.new.19136/pmacct.changes 2025-03-11 
20:47:44.804285552 +0100
@@ -1,0 +2,7 @@
+Tue Mar 11 11:52:16 UTC 2025 - pgaj...@suse.com
+
+- added patches
+  fix build with gcc15 (reported to pa...@pmacct.net)
+  + pmacct-gcc15.patch
+
+-------------------------------------------------------------------

New:
----
  pmacct-gcc15.patch

BETA DEBUG BEGIN:
  New:  fix build with gcc15 (reported to pa...@pmacct.net)
  + pmacct-gcc15.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ pmacct.spec ++++++
--- /var/tmp/diff_new_pack.nWi7Yp/_old  2025-03-11 20:47:45.348308330 +0100
+++ /var/tmp/diff_new_pack.nWi7Yp/_new  2025-03-11 20:47:45.352308498 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pmacct
 #
-# 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
@@ -41,6 +41,8 @@
 Source11:       pmacctd.conf
 Source12:       sfacctd.conf
 Source20:       pmacct.1
+# build with gcc15 (reported to pa...@pmacct.net)
+Patch0:         pmacct-gcc15.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -74,7 +76,7 @@
 export data to tools like RRDtool, GNUPlot, Net-SNMP, MRTG, and Cacti.
 
 %prep
-%setup -q -n %{name}-%{version}
+%autosetup -p1 -n %{name}-%{version}
 
 # fix permissions
 chmod -x sql/pmacct-*

++++++ pmacct-gcc15.patch ++++++
--- pmacct-1.7.9/src/pmacct.h   2024-08-01 22:49:10.000000000 +0200
+++ pmacct-1.7.9-build/pmacct-1.7.9/src/pmacct.h        2025-03-11 
12:33:28.704441531 +0100
@@ -368,9 +368,9 @@ struct child_ctl2 {
 #include "util.h"
 
 /* prototypes */
-void startup_handle_falling_child();
-void handle_falling_child();
-void ignore_falling_child();
+void startup_handle_falling_child(int);
+void handle_falling_child(int);
+void ignore_falling_child(int);
 void PM_sigint_handler(int);
 void PM_sigalrm_noop_handler(int);
 void reload(int);
--- pmacct-1.7.9/src/signals.c  2024-08-01 22:49:10.000000000 +0200
+++ pmacct-1.7.9/src/signals.c  2025-03-11 12:31:53.824378318 +0100
@@ -29,7 +29,7 @@
 extern struct plugins_list_entry *plugin_list;
 
 /* functions */
-void startup_handle_falling_child()
+void startup_handle_falling_child(int unused)
 {
   int i, j;
 
@@ -42,7 +42,7 @@ void startup_handle_falling_child()
   }
 }
 
-void handle_falling_child()
+void handle_falling_child(int unused)
 {
   struct plugins_list_entry *list = NULL;
   int j, ret;
@@ -100,7 +100,7 @@ void handle_falling_child()
   }
 }
 
-void ignore_falling_child()
+void ignore_falling_child(int unused)
 {
   pid_t cpid;
   int status;

Reply via email to