From 7732e4b1059b61f6a48daa7d9dcbe6a24be1de8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Thu, 26 Dec 2024 15:34:31 -0300 Subject: [PATCH] iperf: update to 2.2.1. --- srcpkgs/iperf/patches/fix-udphdr-musl.patch | 13 +++++++++++++ srcpkgs/iperf/template | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/iperf/patches/fix-udphdr-musl.patch diff --git a/srcpkgs/iperf/patches/fix-udphdr-musl.patch b/srcpkgs/iperf/patches/fix-udphdr-musl.patch new file mode 100644 index 00000000000..8db80d1cf1e --- /dev/null +++ b/srcpkgs/iperf/patches/fix-udphdr-musl.patch @@ -0,0 +1,13 @@ +--- a/include/headers.h 2024-11-06 18:47:34.000000000 -0300 ++++ b/include/headers.h 2024-04-07 00:47:17.000000000 -0300 +@@ -134,8 +134,8 @@ + // Bummer, AF_PACKET requires kernel headers as isn't sufficient + #include + #include +-#include +-#include ++#include ++#include + // In older linux kernels, the kernel headers and glibc headers are in conflict, + // specificially and + // preventing the following include: diff --git a/srcpkgs/iperf/template b/srcpkgs/iperf/template index 0dab900341a..e91e4f9e2a6 100644 --- a/srcpkgs/iperf/template +++ b/srcpkgs/iperf/template @@ -1,6 +1,6 @@ # Template file for 'iperf' pkgname=iperf -version=2.2.0 +version=2.2.1 revision=1 build_style=gnu-configure configure_args="--enable-ipv6 --enable-multicast --enable-threads" @@ -10,7 +10,7 @@ license="NCSA" homepage="https://iperf.fr/" changelog="https://sourceforge.net/p/iperf2/code/ci/master/tree/doc/RELEASE_NOTES?format=raw" distfiles="${SOURCEFORGE_SITE}/${pkgname}2/${pkgname}-${version}.tar.gz" -checksum=16810a9575e4c6dd65e4a18ab5df3cdac6730b3c832cf080a8990f132f68364a +checksum=754ab0a7e28033dbea81308ef424bc7df4d6e2fe31b60cc536b61b51fefbd8fb post_patch() { case $XBPS_TARGET_MACHINE in