Date: Sun, 23 Jul 2023 22:16:28 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 679ae95ffdf0 - main - databases/xtrabackup8: Fix build with llvm16 Message-ID: <202307232216.36NMGSg3041172@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=679ae95ffdf009bdcc72e2ba5b4379cf64ccee00 commit 679ae95ffdf009bdcc72e2ba5b4379cf64ccee00 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-23 21:26:32 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-23 22:16:15 +0000 databases/xtrabackup8: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- databases/xtrabackup8/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/databases/xtrabackup8/Makefile b/databases/xtrabackup8/Makefile index c1e9cb5810ca..33bf8139cc6e 100644 --- a/databases/xtrabackup8/Makefile +++ b/databases/xtrabackup8/Makefile @@ -68,6 +68,12 @@ CXXFLAGS+= -malign-double KEEP_EXTRA= lz4 robin-hood-hashing zlib +post-patch: +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 + @${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \ + ${WRKSRC}/../boost_1_77_0/boost/container_hash/hash.hpp +.endif + pre-configure: .for dir in ${KEEP_EXTRA} @${MV} ${WRKSRC}/extra/${dir} ${WRKDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307232216.36NMGSg3041172>