From 0575a3ab10932a030c0726a8d8bedc2d06b6499c Mon Sep 17 00:00:00 2001 From: Kadambini Nema Date: Sat, 17 May 2025 20:27:22 -0700 Subject: [PATCH] package/iperf3: bump to version 3.19 Release notes: https://github.com/esnet/iperf/releases/tag/3.19 Updated license hash due to copyright year bump: https://github.com/esnet/iperf/commit/9f6dc2164dea62221298818c54992c3f24a7e214 Added a patch to fix the build error with uClibc. Signed-off-by: Kadambini Nema Signed-off-by: Julien Olivain --- ...n-issue-with-uClibc-due-to-a-missing.patch | 51 +++++++++++++++++++ package/iperf3/iperf3.hash | 6 +-- package/iperf3/iperf3.mk | 2 +- 3 files changed, 55 insertions(+), 4 deletions(-) create mode 100644 package/iperf3/0001-Fix-a-compilation-issue-with-uClibc-due-to-a-missing.patch diff --git a/package/iperf3/0001-Fix-a-compilation-issue-with-uClibc-due-to-a-missing.patch b/package/iperf3/0001-Fix-a-compilation-issue-with-uClibc-due-to-a-missing.patch new file mode 100644 index 0000000000..cc2f4bd595 --- /dev/null +++ b/package/iperf3/0001-Fix-a-compilation-issue-with-uClibc-due-to-a-missing.patch @@ -0,0 +1,51 @@ +From e5c4263c6b2c5b84a6edeb1cf3c95bddd73d4d7c Mon Sep 17 00:00:00 2001 +From: Kadambini Nema +Date: Sat, 17 May 2025 16:20:07 -0700 +Subject: [PATCH] Fix a compilation issue with uClibc due to a missing include + file. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +------ +In file included from t_auth.c:35: +iperf_api.h:395:77: error: unknown type name ‘va_list’ + 395 | void iperf_exit(struct iperf_test *test, int exit_code, const char *format, va_list argp) __attribute__ ((noreturn)); + | ^~~~~~~ +iperf_api.h:33:1: note: ‘va_list’ is defined in header ‘’; did you forget to ‘#include ’? + 32 | #include + +++ |+#include + 33 | #include +----- + +Signed-off-by: Kadambini Nema +Upstream: https://github.com/esnet/iperf/pull/1888 +--- + src/iperf_api.c | 1 - + src/iperf_api.h | 1 + + 2 files changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/iperf_api.c b/src/iperf_api.c +index aeec91dd3..d4a06bec9 100644 +--- a/src/iperf_api.c ++++ b/src/iperf_api.c +@@ -53,7 +53,6 @@ + #include + #include + #include +-#include + #include + + #if defined(HAVE_CPUSET_SETAFFINITY) +diff --git a/src/iperf_api.h b/src/iperf_api.h +index 03d273e8c..cd82e6f9b 100644 +--- a/src/iperf_api.h ++++ b/src/iperf_api.h +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + #include + #include + #ifdef __cplusplus diff --git a/package/iperf3/iperf3.hash b/package/iperf3/iperf3.hash index 2aef76578a..1ffb2c6c02 100644 --- a/package/iperf3/iperf3.hash +++ b/package/iperf3/iperf3.hash @@ -1,4 +1,4 @@ -# From https://downloads.es.net/pub/iperf/iperf-3.18.tar.gz.sha256 -sha256 c0618175514331e766522500e20c94bfb293b4424eb27d7207fb427b88d20bab iperf-3.18.tar.gz +# From https://downloads.es.net/pub/iperf/iperf-3.19.tar.gz.sha256 +sha256 040161da1555ec7411a9d81191049830ef37717d429a94ee6cf0842618e0e29c iperf-3.19.tar.gz # Locally computed -sha256 3dc3e2076dd9cdea2b66d8fe213997ff25fb6171594f055b59fe25321b438f6f LICENSE +sha256 7c9ba0385fcf35c4c9e08ad0c0cba72d4315f36f0f742fef4de826a28cc33a97 LICENSE diff --git a/package/iperf3/iperf3.mk b/package/iperf3/iperf3.mk index 744ee070a4..69c4792f98 100644 --- a/package/iperf3/iperf3.mk +++ b/package/iperf3/iperf3.mk @@ -4,7 +4,7 @@ # ################################################################################ -IPERF3_VERSION = 3.18 +IPERF3_VERSION = 3.19 IPERF3_SITE = https://downloads.es.net/pub/iperf IPERF3_SOURCE = iperf-$(IPERF3_VERSION).tar.gz IPERF3_LICENSE = BSD-3-Clause, BSD-2-Clause, MIT