commit 2e2e189b016fe981fcb32e2c461a7c385cb25942 from: Omar Polo date: Thu Jul 08 10:09:24 2021 UTC PF_UNIX is not a valid protocol for socketpair OpenBSD accept it, but FreeBSD disallows it. PF_UNSPEC (or 0) should be used instead. The FastCGI bit in the regress suite still doesn't work on FreeBSD, but at least now it starts. commit - e7c6502bf3ebe199349e315ac7f112db6a2db38e commit + 2e2e189b016fe981fcb32e2c461a7c385cb25942 blob - cad8d9ab36cb1b75fecdf15277c3a2f92a05db8c blob + 102d5a214aec6a6e01992dbcb51001e1291ce0f7 --- ex.c +++ ex.c @@ -319,7 +319,7 @@ fcgi_open_prog(struct fcgi *f) /* XXX! */ - if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNIX, s) == -1) + if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, s) == -1) err(1, "socketpair"); switch (p = fork()) {