iperf: update to 2.2.1.

This commit is contained in:
Gonzalo Tornaría 2024-12-26 15:34:31 -03:00 committed by Andrew J. Hesford
parent 24e5847fc7
commit 7732e4b105
2 changed files with 15 additions and 2 deletions

View File

@ -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 <netpacket/packet.h> isn't sufficient
#include <linux/filter.h>
#include <linux/if_packet.h>
-#include <netinet/ip.h>
-#include <netinet/udp.h>
+#include <linux/ip.h>
+#include <linux/udp.h>
// In older linux kernels, the kernel headers and glibc headers are in conflict,
// specificially <linux/in6.h> and <netinit/in.h>
// preventing the following include:

View File

@ -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