From: Björn Ketelaars Subject: Re: [llvm22] Breakage 2026-05-28 To: Christian Weisgerber Cc: ports@openbsd.org Date: Sun, 31 May 2026 07:30:32 +0200 On Fri 29/05/2026 23:58, Christian Weisgerber wrote: > This was from the last experimental build before the LLVM 22 update > was committed to base. > > http://build-failures.rhaalovely.net/amd64-clang/2026-05-28/ > > audio/ario ports@ > audio/gmpc landry@ > audio/libgpod ports@ > audio/libworkman ports@ > audio/musepack ports@ > audio/vgmstream anthony@anjbe.name > audio/xcdplayer ports@ > cad/fritzing ports@ > cad/graywolf just22@atlantide.mooo.com > cad/magic just22@atlantide.mooo.com > cad/prusaslicer renato@renatoaguiar.net > databases/pgpool pea@ > databases/pgtcl stwo@users.sourceforge.net > devel/autogen ports@ > devel/csmith ports@ > devel/p5-Locale-Hebrew ports@ > devel/remake ports@ > devel/zeal awolk@ > editors/axe ports@ > emulators/citra ports@ > emulators/gambatte anthony@anjbe.name > emulators/xcopilot ports@ > emulators/xnp2 ports@ > emulators/xnp21kai ports@ > games/cataclysm-dda,no_x11 kirby@ > games/clonekeen edd@ > games/corewars ports@ > games/falconseye espie@ > games/fnaify-extralibs thfr@ > games/gnushogi ports@ > games/lincity-ng ports@ > games/micropolis ports@ > games/oolite ports@ > games/openarena ports@ > games/slash espie@ > games/slash-em espie@ > games/spatial ports@ > games/tome4 ports@ > games/wanderer ports@ > games/wrath ports@ > games/xasteroids ports@ > games/xpilot ports@ > games/xscrabble ports@ > geo/foxtrotgps kirby@ > geo/libchamplain ajacoutot@ > geo/qgis landry@ > graphics/arcan ports@ > graphics/dia-gtk2 ajacoutot@ > graphics/fyre ports@ > graphics/geomview ports@ > graphics/mtpaint ports@ > graphics/quesoglc brad@comstyle.com > graphics/tgif benoit@ > graphics/xanim espie@ > graphics/xsane,gimp ports@ > inputmethods/libime ports@ > inputmethods/libskk ports@ > japanese/Wnn espie@ > japanese/canna espie@ > japanese/kterm ports@ > lang/cim ports@ > lang/gpc ports@ > lang/scm espie@ > lang/v jasper@ > mail/clamsmtp ports@ > mail/hypermail ports@ > math/grpn ports@ > math/spread-sheet-widget ports@ > misc/brltty ports@ > misc/open62541,ns0_full bluhm@ > net/fastnetmon ports@ > net/ipsvd ports@ > net/jnettop ports@ > net/netpipes ports@ net/netpipes errors out with: faucet.c:622:28: error: incompatible pointer types passing 'union (unnamed at faucet.c:281:3) *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] 622 | if (!authorize_address(&saddr)) { | ^~~~~~ authorize_address() expects a struct sockaddr *, thus we can can explicitly cast the union pointer. While here - Update SITES as the previous one seems down, and update distinfo - Remove stray space in DESCR - Sync PLIST - Bump REVISION OK? diff --git Makefile Makefile index f319272a2d8..78de5c59464 100644 --- Makefile +++ Makefile @@ -2,17 +2,15 @@ COMMENT= shell utilities to connect programs to sockets DISTNAME= netpipes-4.2-export PKGNAME= netpipes-4.2 -REVISION= 1 +REVISION= 2 CATEGORIES= net HOMEPAGE= http://web.purplefrog.com/~thoth/netpipes/netpipes.html PERMIT_PACKAGE= Yes -WANTLIB= c +WANTLIB= c -SITES= ftp://ftp.purplefrog.com/pub/netpipes/ - -WRKDIST= ${WRKDIR} +SITES= http://web.purplefrog.com/~thoth/netpipes/ftp/ NO_TEST= Yes diff --git distinfo distinfo index 6495f49aa64..4f89fc9b6e7 100644 --- distinfo +++ distinfo @@ -1,2 +1,2 @@ -SHA256 (netpipes-4.2-export.tar.gz) = bu2JtmGunyrA04NBTKlkq+qKEV+Pug96s3tJtWX/sqg= -SIZE (netpipes-4.2-export.tar.gz) = 74977 +SHA256 (netpipes-4.2-export.tar.gz) = BxKyzVWteAhDhdIV+AN6rTxTsGpv2Mm9qD7COv1ECic= +SIZE (netpipes-4.2-export.tar.gz) = 75276 diff --git patches/patch-Makefile patches/patch-Makefile index a0554df0a58..5ca3eb6e455 100644 --- patches/patch-Makefile +++ patches/patch-Makefile @@ -1,5 +1,6 @@ ---- Makefile.orig Wed Oct 28 20:30:03 1998 -+++ Makefile Wed Mar 21 22:11:23 2001 +Index: Makefile +--- Makefile.orig ++++ Makefile @@ -17,7 +17,7 @@ # You probably want to change this: @@ -18,7 +19,7 @@ # SGI #CFLAGS = -DSYSV $(CDEBUGFLAGS) -@@ -71,7 +71,7 @@ CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_ +@@ -71,7 +71,7 @@ CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_INET_ATON $(CD #CFLAGS = -DPOSIX_SIG $(CDEBUGFLAGS) # FreeBSD diff --git patches/patch-faucet_c patches/patch-faucet_c new file mode 100644 index 00000000000..dc12808d1b8 --- /dev/null +++ patches/patch-faucet_c @@ -0,0 +1,15 @@ +Casts the socket address union pointer to struct sockaddr * to fix a compiler +type mismatch + +Index: faucet.c +--- faucet.c.orig ++++ faucet.c +@@ -619,7 +619,7 @@ char ** argv; + continue; + } + +- if (!authorize_address(&saddr)) { ++ if (!authorize_address((struct sockaddr *)&saddr)) { + close(rval); + continue; + } diff --git pkg/DESCR pkg/DESCR index 1bd91f89776..226b630f6f8 100644 --- pkg/DESCR +++ pkg/DESCR @@ -2,6 +2,6 @@ Netpipes is a collection of utilities which attempts to provide the functionality of pipes over a network. It consists of small utilities that perform a single task, such as -listening on a port for connections (faucet), sending data to a +listening on a port for connections (faucet), sending data to a remote port (hose), or even multiplex multiple streams over a single TCP connection (encapsulate). diff --git pkg/PLIST pkg/PLIST index 2ef7bf2a5ca..984b057d693 100644 --- pkg/PLIST +++ pkg/PLIST @@ -1,10 +1,10 @@ -bin/encapsulate -bin/faucet -bin/getpeername +@bin bin/encapsulate +@bin bin/faucet +@bin bin/getpeername bin/getsockname -bin/hose -bin/sockdown -bin/timelimit +@bin bin/hose +@bin bin/sockdown +@bin bin/timelimit @man man/man1/encapsulate.1 @man man/man1/faucet.1 @man man/man1/getpeername.1