git: 694ab437cf29 - main - databases/xtrabackup80: unbreak build with clang18
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 May 2024 12:07:48 UTC
The branch main has been updated by eugen: URL: https://cgit.FreeBSD.org/ports/commit/?id=694ab437cf2940378c9a9d2fe9281c87441d5ac0 commit 694ab437cf2940378c9a9d2fe9281c87441d5ac0 Author: Eugene Grosbein <eugen@FreeBSD.org> AuthorDate: 2024-05-23 12:00:01 +0000 Commit: Eugene Grosbein <eugen@FreeBSD.org> CommitDate: 2024-05-23 12:07:42 +0000 databases/xtrabackup80: unbreak build with clang18 Reported by: Eugene M. Zheganin (maintainer) Approved by: Eugene M. Zheganin (maintainer) --- databases/xtrabackup80/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/databases/xtrabackup80/Makefile b/databases/xtrabackup80/Makefile index 7004a9812a23..47be5e87e030 100644 --- a/databases/xtrabackup80/Makefile +++ b/databases/xtrabackup80/Makefile @@ -80,6 +80,10 @@ LIB_DEPENDS+= libcurl.so:ftp/curl \ libunwind.so:devel/libunwind \ libzstd.so:archivers/zstd +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 180 +CXXFLAGS+= -Wno-enum-constexpr-conversion +.endif + .for component in EDITLINE ICU LIBEVENT PROTOBUF RAPIDJSON ZSTD CMAKE_ARGS+= -DWITH_${component}:STRING=system .endfor