Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2023 16:22:34 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: 115ff551f25f - main - japanese/kdrill: Fix build with llvm16
Message-ID:  <202308021622.372GMYns035906@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=115ff551f25f6d6a72239c019ac2bb0a6028b819

commit 115ff551f25f6d6a72239c019ac2bb0a6028b819
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-02 16:16:07 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-02 16:22:20 +0000

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

diff --git a/japanese/kdrill/Makefile b/japanese/kdrill/Makefile
index dd0920ac0d84..c88d46126e36 100644
--- a/japanese/kdrill/Makefile
+++ b/japanese/kdrill/Makefile
@@ -15,6 +15,12 @@ USE_XORG=	ice sm x11 xaw xext xmu xpm xt
 
 DATADIR=	${PREFIX}/share/dict/kdrill
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-build:
 	@(cd ${WRKSRC}/makedic && ${DO_MAKE_BUILD} ${ALL_TARGET})
 



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