Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2023 12:27:03 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bc2fbcef8b59 - main - japanese/jls: Fix build with llvm16
Message-ID:  <202308071227.377CR3G6026619@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit bc2fbcef8b593cfce3701b5f63450e853b2bb595
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-07 00:39:42 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-07 11:54:42 +0000

    japanese/jls: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 japanese/jls/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/japanese/jls/Makefile b/japanese/jls/Makefile
index 546ce15fbc46..37241f28be55 100644
--- a/japanese/jls/Makefile
+++ b/japanese/jls/Makefile
@@ -19,6 +19,12 @@ PLIST_FILES=	bin/jls \
 
 WRKSRC=	${WRKDIR}/ls
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 pre-patch:
 	(cd ${WRKSRC} && ${MV} ls.1 jls.1)
 



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