diff --git a/packages/addons/addon-depends/network-tools-depends/iperf/package.mk b/packages/addons/addon-depends/network-tools-depends/iperf/package.mk index c592260d34..14abf62cd5 100644 --- a/packages/addons/addon-depends/network-tools-depends/iperf/package.mk +++ b/packages/addons/addon-depends/network-tools-depends/iperf/package.mk @@ -2,8 +2,8 @@ # Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) PKG_NAME="iperf" -PKG_VERSION="3.18" -PKG_SHA256="ef9ffabf16926701a11c9b7e95dccdf64ff304b7b20dcb6f28aed06b240b7e99" +PKG_VERSION="3.19" +PKG_SHA256="da5cff29e4945b2ee05dcf9a0c67768cc000dc1b122935bce3492c4e36f6b5e9" PKG_LICENSE="BSD" PKG_SITE="http://software.es.net/iperf/" PKG_URL="https://github.com/esnet/iperf/archive/${PKG_VERSION}.tar.gz" diff --git a/packages/addons/addon-depends/network-tools-depends/iperf/patches/iperf-1805-allow-build-with-gcc-15.patch b/packages/addons/addon-depends/network-tools-depends/iperf/patches/iperf-1805-allow-build-with-gcc-15.patch deleted file mode 100644 index ed5e6f12b7..0000000000 --- a/packages/addons/addon-depends/network-tools-depends/iperf/patches/iperf-1805-allow-build-with-gcc-15.patch +++ /dev/null @@ -1,63 +0,0 @@ -From beadb59b90e8d3339d31f9f15525108072fde135 Mon Sep 17 00:00:00 2001 -From: Rudi Heitbaum -Date: Mon, 9 Dec 2024 10:13:02 +0000 -Subject: [PATCH] fix build with gcc-15 - ---- - src/iperf_api.c | 8 ++++---- - src/iperf_api.h | 8 ++++---- - 2 files changed, 8 insertions(+), 8 deletions(-) - -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);