diff --git a/iperf/0001-build-fix.patch b/iperf/0001-build-fix.patch deleted file mode 100644 index 981b7b90..00000000 --- a/iperf/0001-build-fix.patch +++ /dev/null @@ -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 diff --git a/iperf/PKGBUILD b/iperf/PKGBUILD index 401ebb2a..3e5f5a1c 100644 --- a/iperf/PKGBUILD +++ b/iperf/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Oleg Titov pkgname=iperf -pkgver=2.2.0 +pkgver=2.2.1 pkgrel=1 pkgdesc='A tool to measure maximum TCP bandwidth' arch=('i686' 'x86_64') @@ -13,17 +13,11 @@ msys2_references=( license=('custom') depends=('gcc-libs') makedepends=('autotools' 'gcc') -source=("https://downloads.sourceforge.net/iperf2/iperf-$pkgver.tar.gz" - "0001-build-fix.patch") -sha256sums=('16810a9575e4c6dd65e4a18ab5df3cdac6730b3c832cf080a8990f132f68364a' - '65baf3f40cd7caa8312e02a0264579d329b5f1bb11fa2ff36907ed6685f8ef9f') +source=("https://downloads.sourceforge.net/iperf2/iperf-$pkgver.tar.gz") +sha256sums=('754ab0a7e28033dbea81308ef424bc7df4d6e2fe31b60cc536b61b51fefbd8fb') prepare() { 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() {