git: c8ea8c20274e - main - ftp/libfilezilla: fix build on 15

From: Kurt Jaeger <pi_at_FreeBSD.org>
Date: Tue, 31 Dec 2024 08:37:13 UTC
The branch main has been updated by pi:

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

commit c8ea8c20274e8974737189257cda8ed08c324797
Author:     Martin Neubauer <m.ne@gmx.net>
AuthorDate: 2024-12-31 08:35:34 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2024-12-31 08:36:43 +0000

    ftp/libfilezilla: fix build on 15
    
    - missed the Makefile patch because I build on an older version of 15
    
    PR:             283373
---
 ftp/libfilezilla/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/ftp/libfilezilla/Makefile b/ftp/libfilezilla/Makefile
index d9377f7017af..d69893dc0472 100644
--- a/ftp/libfilezilla/Makefile
+++ b/ftp/libfilezilla/Makefile
@@ -20,4 +20,10 @@ USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 191
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-lib_libfilezilla_string.hpp
+.endif
+
+.include <bsd.port.post.mk>