Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2023 18:10:04 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: de6240d6a1f7 - main - x11-toolkits/itk: Fix build with llvm16
Message-ID:  <202306251810.35PIA4mA094773@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=de6240d6a1f7460da9b3ff0743aba1680eaf5a05

commit de6240d6a1f7460da9b3ff0743aba1680eaf5a05
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-25 13:41:30 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-25 18:09:48 +0000

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

diff --git a/x11-toolkits/itk/Makefile b/x11-toolkits/itk/Makefile
index b0dc7654de48..14dd675a42fa 100644
--- a/x11-toolkits/itk/Makefile
+++ b/x11-toolkits/itk/Makefile
@@ -29,6 +29,12 @@ ITK_LIB=	libitk.so.${MAJOR}
 
 ITK_LIB_FILE=	${ITK_LIB}.${SHLIB_MAJOR}
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 .if defined(DISPLAY)
 post-build:	test
 .else



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