From: Kirill A. Korinsky Subject: Re: net/tcpreplay: fix for llvm-22 (was: [llvm22] Breakage 2026-05-28) To: ports@openbsd.org, nigel@openbsd.org Date: Fri, 05 Jun 2026 15:10:51 +0200 On Fri, 05 Jun 2026 12:51:33 +0200, Stuart Henderson wrote: > > On 2026/06/02 22:30, Kirill A. Korinsky wrote: > > On Fri, 29 May 2026 23:58:14 +0200, > > Christian Weisgerber wrote: > > > > > > net/tcpreplay nigel@ > > > > Here a diff. > > > > Ok? > > there's an update to this, as well. ok? > > Briefly tested on -current/amd64, ok kirill@ > Index: Makefile > =================================================================== > RCS file: /cvs/ports/net/tcpreplay/Makefile,v > diff -u -p -r1.43 Makefile > --- Makefile 25 Nov 2024 21:22:46 -0000 1.43 > +++ Makefile 5 Jun 2026 10:51:20 -0000 > @@ -1,6 +1,6 @@ > COMMENT= resend network traffic saved by tcpdump > > -V= 4.5.1 > +V= 4.5.2 > DISTNAME= tcpreplay-$V > CATEGORIES= net > > @@ -13,7 +13,7 @@ PERMIT_PACKAGE= Yes > > WANTLIB= c dnet>=1 > > -SITES= https://github.com/appneta/tcpreplay/releases/download/v$V/ > +SITES= https://github.com/appneta/tcpreplay/releases/download/v$V/ > > CONFIGURE_STYLE= gnu > > Index: distinfo > =================================================================== > RCS file: /cvs/ports/net/tcpreplay/distinfo,v > diff -u -p -r1.11 distinfo > --- distinfo 25 Nov 2024 21:22:46 -0000 1.11 > +++ distinfo 5 Jun 2026 10:51:20 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (tcpreplay-4.5.1.tar.gz) = Leeb/Wfsksqa4v+1BFbdHVP/QPP6cbQixl6AYgE8noU= > -SIZE (tcpreplay-4.5.1.tar.gz) = 4926189 > +SHA256 (tcpreplay-4.5.2.tar.gz) = zP87spRpoEzMIO0LUY4+Q8Sntah2M52UNb/Z23/l0PE= > +SIZE (tcpreplay-4.5.2.tar.gz) = 4966240 > Index: patches/patch-src_common_sendpacket_h > =================================================================== > RCS file: patches/patch-src_common_sendpacket_h > diff -N patches/patch-src_common_sendpacket_h > --- patches/patch-src_common_sendpacket_h 25 Nov 2024 21:22:46 -0000 1.3 > +++ /dev/null 1 Jan 1970 00:00:00 -0000 > @@ -1,11 +0,0 @@ > -Index: src/common/sendpacket.h > ---- src/common/sendpacket.h.orig > -+++ src/common/sendpacket.h > -@@ -27,6 +27,7 @@ > - #ifdef __NetBSD__ > - #include > - #elif ! defined(__HAIKU__) > -+#include > - #include > - #endif > - > -- wbr, Kirill