git: c38468e169ff - main - databases/mysql80-server: Fix client patch phase

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Sun, 24 Dec 2023 19:12:52 UTC
The branch main has been updated by jhale:

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

commit c38468e169ffb04e48a27a6c05d652decfc34350
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-12-24 18:51:50 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-12-24 19:12:49 +0000

    databases/mysql80-server: Fix client patch phase
    
    This is to fix the patch phase of databases/mysql80-client on i386,
    where the extra-patch file could not be located because the relative
    path was hardcoded in databases/mysql80-server.
    
    ===>  Patching for mysql80-client-8.0.35
    ===>  Applying extra patch files/extra-patch-boost-boost_1_77_0-boost-move-detail-type_traits.hpp
    cat: files/extra-patch-boost-boost_1_77_0-boost-move-detail-type_traits.hpp: No such file or directory
    ===>  FAILED Applying extra patch files/extra-patch-boost-boost_1_77_0-boost-move-detail-type_traits.hpp
    *** Error code 1
    
    Approved by:    portmgr (blanket)
---
 databases/mysql80-server/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/databases/mysql80-server/Makefile b/databases/mysql80-server/Makefile
index 4fddf2f98986..f8b441f89ffd 100644
--- a/databases/mysql80-server/Makefile
+++ b/databases/mysql80-server/Makefile
@@ -205,7 +205,7 @@ EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-scripts_CMakeLists.txt
 
 # XXX MBi alignment issue
 .if ${ARCH} == i386
-EXTRA_PATCHES+=	files/extra-patch-boost-boost_1_77_0-boost-move-detail-type_traits.hpp
+EXTRA_PATCHES+=	${FILESDIR}/extra-patch-boost-boost_1_77_0-boost-move-detail-type_traits.hpp
 .endif
 
 .if !defined(CLIENT_ONLY)