Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2023 15:31:09 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: aceb4c1a38f3 - main - japanese/celrw: Fix build with llvm15
Message-ID:  <202306081531.358FV9QR062030@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=aceb4c1a38f30b98ba489db2f9177c641bfe0a29

commit aceb4c1a38f30b98ba489db2f9177c641bfe0a29
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-08 14:18:25 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-08 15:30:54 +0000

    japanese/celrw: Fix build with llvm15
---
 japanese/celrw/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/japanese/celrw/Makefile b/japanese/celrw/Makefile
index 13100242cb0d..97f80d0a9ea2 100644
--- a/japanese/celrw/Makefile
+++ b/japanese/celrw/Makefile
@@ -17,6 +17,12 @@ PLIST_FILES=	bin/celrw
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 post-extract:
 .for file in config.guess config.sub install.sh
 	@${RM} ${WRKSRC}/${file}
@@ -28,4 +34,4 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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