git: bc2fbcef8b59 - main - japanese/jls: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Aug 2023 12:27:03 UTC
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)