git: 990dfe7c6014 - main - lang/lafontaine: Fix build with llvm15

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 12 Jun 2023 22:58:50 UTC
The branch main has been updated by bofh:

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

commit 990dfe7c6014cbe4921b598a5ee33017abb469d4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-12 22:51:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-12 22:58:36 +0000

    lang/lafontaine: Fix build with llvm15
    
    Approved by:    portmgr (blanket)
---
 lang/lafontaine/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lang/lafontaine/Makefile b/lang/lafontaine/Makefile
index bfa3557dab05..c8d346207983 100644
--- a/lang/lafontaine/Makefile
+++ b/lang/lafontaine/Makefile
@@ -29,4 +29,10 @@ OPTIONS_SUB=	yes
 NLS_CONFIGURE_ENABLE=	nls
 NLS_USES=		gettext
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 .include <bsd.port.mk>