iperf: update to 2.1.5, adopt.
This commit is contained in:
parent
9d0a2d1b1d
commit
39c022a9d2
2 changed files with 23 additions and 3 deletions
20
srcpkgs/iperf/patches/fix-gettcpinfo-musl.patch
Normal file
20
srcpkgs/iperf/patches/fix-gettcpinfo-musl.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
It seems there was a broken commit meant to fix compilation on win32,
|
||||
but this broke compilation on musl.
|
||||
|
||||
See:
|
||||
|
||||
https://sourceforge.net/p/iperf2/code/ci/c8f861a0a07b0606a581f2658c71959ad9417923/
|
||||
|
||||
for the broken commit. The current patch fixes that by completing the
|
||||
definition of gettcpinfo() to what it was before the broken commit.
|
||||
|
||||
--- a/compat/gettcpinfo.c 2021-12-05 17:49:56.000000000 -0300
|
||||
+++ b/compat/gettcpinfo.c 2021-12-11 19:29:24.850947483 -0300
|
||||
@@ -99,4 +99,7 @@
|
||||
};
|
||||
#else
|
||||
inline void gettcpinfo (int sock, struct ReportStruct *sample) {
|
||||
+ sample->tcpstats.rtt = 1;
|
||||
+ sample->tcpstats.isValid = false;
|
||||
+};
|
||||
#endif
|
|
@ -1,16 +1,16 @@
|
|||
# Template file for 'iperf'
|
||||
pkgname=iperf
|
||||
version=2.1.4
|
||||
version=2.1.5
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-ipv6 --enable-multicast --enable-threads
|
||||
ac_cv_sizeof_bool=0"
|
||||
short_desc="Perform network throughput tests"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
||||
license="NCSA"
|
||||
homepage="https://iperf.fr/"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}2/${pkgname}-${version}.tar.gz"
|
||||
checksum=062b392e87b8e227aca74fef0a99b04fe0382d4518957041b508a56885b4d4f9
|
||||
checksum=56ec1312d24bd2c78790e67c96c0a991c82e71bc4c0b0d37171bd89c9fd6ef3e
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING LICENSE
|
||||
|
|
Loading…
Reference in a new issue