Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 2024 12:07:48 GMT
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 694ab437cf29 - main - databases/xtrabackup80: unbreak build with clang18
Message-ID:  <202405231207.44NC7mYT007335@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405231207.44NC7mYT007335>