iperf: Update to 2.2.1
fix is included in the new release
This commit is contained in:
parent
c7c2646ea7
commit
b491d912d6
@ -1,11 +0,0 @@
|
|||||||
--- a/src/Server.cpp
|
|
||||||
+++ b/src/Server.cpp
|
|
||||||
@@ -93,7 +93,7 @@
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
-#if HAVE_DECL_MSG_CTRUNC
|
|
||||||
+#if (HAVE_DECL_SO_TIMESTAMP) && (HAVE_DECL_MSG_CTRUNC)
|
|
||||||
ctrunc_warn_enable = true;
|
|
||||||
#endif
|
|
||||||
// Enable kernel level timestamping if available
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
|
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
|
||||||
|
|
||||||
pkgname=iperf
|
pkgname=iperf
|
||||||
pkgver=2.2.0
|
pkgver=2.2.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='A tool to measure maximum TCP bandwidth'
|
pkgdesc='A tool to measure maximum TCP bandwidth'
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
@ -13,17 +13,11 @@ msys2_references=(
|
|||||||
license=('custom')
|
license=('custom')
|
||||||
depends=('gcc-libs')
|
depends=('gcc-libs')
|
||||||
makedepends=('autotools' 'gcc')
|
makedepends=('autotools' 'gcc')
|
||||||
source=("https://downloads.sourceforge.net/iperf2/iperf-$pkgver.tar.gz"
|
source=("https://downloads.sourceforge.net/iperf2/iperf-$pkgver.tar.gz")
|
||||||
"0001-build-fix.patch")
|
sha256sums=('754ab0a7e28033dbea81308ef424bc7df4d6e2fe31b60cc536b61b51fefbd8fb')
|
||||||
sha256sums=('16810a9575e4c6dd65e4a18ab5df3cdac6730b3c832cf080a8990f132f68364a'
|
|
||||||
'65baf3f40cd7caa8312e02a0264579d329b5f1bb11fa2ff36907ed6685f8ef9f')
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${pkgname}-${pkgver}"
|
cd "${pkgname}-${pkgver}"
|
||||||
|
|
||||||
# https://sourceforge.net/p/iperf2/tickets/328/
|
|
||||||
# https://sourceforge.net/p/iperf2/code/ci/97c193ac9aecd7884988a16a2454346253590b66
|
|
||||||
patch -Np1 -i "${srcdir}"/0001-build-fix.patch
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user