Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package iperf for openSUSE:Factory checked 
in at 2025-05-07 19:21:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/iperf (Old)
 and      /work/SRC/openSUSE:Factory/.iperf.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "iperf"

Wed May  7 19:21:17 2025 rev:41 rq:1275238 version:3.18

Changes:
--------
--- /work/SRC/openSUSE:Factory/iperf/iperf.changes      2025-01-27 
21:33:52.046126568 +0100
+++ /work/SRC/openSUSE:Factory/.iperf.new.30101/iperf.changes   2025-05-07 
19:21:34.143964608 +0200
@@ -1,0 +2,7 @@
+Wed May  7 09:40:33 UTC 2025 - pgaj...@suse.com
+
+- added patches
+  
https://github.com/esnet/iperf/commit/beadb59b90e8d3339d31f9f15525108072fde135
+  + iperf-gcc15.patch
+
+-------------------------------------------------------------------

New:
----
  iperf-gcc15.patch

BETA DEBUG BEGIN:
  New:  
https://github.com/esnet/iperf/commit/beadb59b90e8d3339d31f9f15525108072fde135
  + iperf-gcc15.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ iperf.spec ++++++
--- /var/tmp/diff_new_pack.JGuGGJ/_old  2025-05-07 19:21:34.751989969 +0200
+++ /var/tmp/diff_new_pack.JGuGGJ/_new  2025-05-07 19:21:34.755990136 +0200
@@ -26,6 +26,8 @@
 URL:            https://github.com/esnet/iperf
 Source:         
https://github.com/esnet/iperf/releases/download/%{version}/iperf-%{version}.tar.gz
 Source1:        
https://github.com/esnet/iperf/releases/download/%{version}/iperf-%{version}.tar.gz.sha256
+# 
https://github.com/esnet/iperf/commit/beadb59b90e8d3339d31f9f15525108072fde135
+Patch0:         iperf-gcc15.patch
 Requires:       lib%{name}%{soname} = %{version}-%{release}
 %if %{?sles_version} && %{?sles_version} <= 11
 BuildRequires:  libuuid-devel
@@ -79,7 +81,7 @@
 This package contains development files.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %configure --disable-static

++++++ iperf-gcc15.patch ++++++
diff --git a/src/iperf_api.c b/src/iperf_api.c
index bad0a63ad..901aec301 100644
--- a/src/iperf_api.c
+++ b/src/iperf_api.c
@@ -603,25 +603,25 @@ iperf_set_mapped_v4(struct iperf_test *ipt, const int val)
 }
 
 void 
-iperf_set_on_new_stream_callback(struct iperf_test* ipt, void (*callback)())
+iperf_set_on_new_stream_callback(struct iperf_test* ipt, void 
(*callback)(struct iperf_stream *))
 {
         ipt->on_new_stream = callback;
 }
 
 void 
-iperf_set_on_test_start_callback(struct iperf_test* ipt, void (*callback)())
+iperf_set_on_test_start_callback(struct iperf_test* ipt, void 
(*callback)(struct iperf_test *))
 {
         ipt->on_test_start = callback;
 }
 
 void 
-iperf_set_on_test_connect_callback(struct iperf_test* ipt, void (*callback)())
+iperf_set_on_test_connect_callback(struct iperf_test* ipt, void 
(*callback)(struct iperf_test *))
 {
         ipt->on_connect = callback;
 }
 
 void 
-iperf_set_on_test_finish_callback(struct iperf_test* ipt, void (*callback)())
+iperf_set_on_test_finish_callback(struct iperf_test* ipt, void 
(*callback)(struct iperf_test *))
 {
         ipt->on_test_finish = callback;
 }
diff --git a/src/iperf_api.h b/src/iperf_api.h
index 2b71613e9..5e2519e47 100644
--- a/src/iperf_api.h
+++ b/src/iperf_api.h
@@ -213,10 +213,10 @@ void    iperf_set_dont_fragment( struct iperf_test* ipt, 
int dont_fragment );
 void    iperf_set_test_congestion_control(struct iperf_test* ipt, char* cc);
 void    iperf_set_test_mss(struct iperf_test* ipt, int mss);
 void    iperf_set_mapped_v4(struct iperf_test* ipt, const int val);
-void    iperf_set_on_new_stream_callback(struct iperf_test* ipt, void 
(*callback)());
-void    iperf_set_on_test_start_callback(struct iperf_test* ipt, void 
(*callback)());
-void    iperf_set_on_test_connect_callback(struct iperf_test* ipt, void 
(*callback)());
-void    iperf_set_on_test_finish_callback(struct iperf_test* ipt, void 
(*callback)());
+void    iperf_set_on_new_stream_callback(struct iperf_test* ipt, void 
(*callback)(struct iperf_stream *));
+void    iperf_set_on_test_start_callback(struct iperf_test* ipt, void 
(*callback)(struct iperf_test *));
+void    iperf_set_on_test_connect_callback(struct iperf_test* ipt, void 
(*callback)(struct iperf_test *));
+void    iperf_set_on_test_finish_callback(struct iperf_test* ipt, void 
(*callback)(struct iperf_test *));
 
 #if defined(HAVE_SSL)
 void    iperf_set_test_client_username(struct iperf_test *ipt, const char 
*client_username);

Reply via email to