Date: Mon, 21 Aug 2023 08:17:02 +0000 From: Alexey Dokuchaev <danfe@freebsd.org> To: Muhammad Moinur Rahman <bofh@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 578591807a5d - main - net/xprobe: Fix build on 14 Message-ID: <ZOMdfhdTaSrxYmFm@FreeBSD.org> In-Reply-To: <202308180657.37I6vKKC082833@gitrepo.freebsd.org>
index | next in thread | previous in thread | raw e-mail
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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZOMdfhdTaSrxYmFm>
