Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2023 20:45:37 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: 6ed3dec8833b - main - converters/cocot: Fix build with llvm16
Message-ID:  <202307192045.36JKjb12049021@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=6ed3dec8833b3551a5e1c229838fc856ec5f85cc

commit 6ed3dec8833b3551a5e1c229838fc856ec5f85cc
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-19 19:56:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-19 20:45:27 +0000

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

diff --git a/converters/cocot/Makefile b/converters/cocot/Makefile
index 3f225b715c78..96b896a2f505 100644
--- a/converters/cocot/Makefile
+++ b/converters/cocot/Makefile
@@ -24,6 +24,12 @@ LDFLAGS+=	-L${ICONV_PREFIX}/lib
 DOCS_EN=	COPYING ChangeLog
 DOCS_JA=	ChangeLog.ja README.ja
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/ja
 .for f in ${DOCS_EN}



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