Re: git: 578591807a5d - main - net/xprobe: Fix build on 14
Date: Mon, 21 Aug 2023 08:17:02 UTC
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