git: 679ae95ffdf0 - main - databases/xtrabackup8: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jul 2023 22:16:28 UTC
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}