Re: git: 578591807a5d - main - net/xprobe: Fix build on 14

From: Po-Chuan Hsieh <sunpoet_at_freebsd.org>
Date: Mon, 21 Aug 2023 17:24:52 UTC
On Mon, Aug 21, 2023 at 4:17 PM Alexey Dokuchaev <danfe@freebsd.org> wrote:

> On Fri, Aug 18, 2023 at 06:57:20AM +0000, Muhammad Moinur Rahman wrote:
> > commit 578591807a5d9bc9dd08130e63d268358b90e100
> >
> >   net/xprobe: Fix build on 14
>
> sunpoet@ had fixed the `register' issue with commit b5c1ed98827f, but
> apparently it was incomplete as it still uses deprecated std::shuffle().
>
> > +.include <bsd.port.options.mk>
> > +
> > +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION}
> >= 1302505 && ${OSVERSION} < 1400000 ))
> > +USES+=       llvm:max=15
> > +CC=  clang${LLVM_VERSION}
> > +CPP= clang-cpp${LLVM_VERSION}
> > +CXX= clang++${LLVM_VERSION}
> > +.endif
>
> Why not follow e.g. commit 2c1a536ebca3 and patch this properly?
>
> ./danfe
>
>
I've fixed it in 29873d969e02af4315ba32ac52ae43c9d6597040.
Thanks.