git: d75d76d8c0c4 - main - databases/percona57-server: fix build on i386/clang15 (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Thu, 02 Mar 2023 07:46:42 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d75d76d8c0c4b6d36618acab236ebbb4fd6ea0c2

commit d75d76d8c0c4b6d36618acab236ebbb4fd6ea0c2
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-03-02 07:44:21 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-03-02 07:44:21 +0000

    databases/percona57-server: fix build on i386/clang15 (+)
    
    Reported by:    pkg-fallout
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 databases/percona57-server/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/databases/percona57-server/Makefile b/databases/percona57-server/Makefile
index 9d7e78df4212..5227b70edb57 100644
--- a/databases/percona57-server/Makefile
+++ b/databases/percona57-server/Makefile
@@ -152,6 +152,8 @@ post-patch:
 	# issue 220865: MySQL developers forgot that FreeBSD != Linux
 	@${REINPLACE_CMD} -e 's|%%FREEBSD_LOCAL_LIB%%|${LOCALBASE}/lib|g' \
 	${WRKSRC}/configure.cmake
+	@${REINPLACE_CMD} -e 's|__clang__|__undefined__|g' \
+	    ${WRKDIR}/boost_1_59_0/boost/atomic/detail/ops_gcc_x86_dcas.hpp
 
 .include <bsd.port.pre.mk>