aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-25 13:41:30 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-25 18:09:48 +0000
commitde6240d6a1f7460da9b3ff0743aba1680eaf5a05 (patch)
treecbe5ed958008ae6c6d8ba92b3da5d285465c7658 /x11-toolkits
parent74791d08b90803b2f258f182043e72fc164491cb (diff)
downloadports-de6240d6a1f7460da9b3ff0743aba1680eaf5a05.tar.gz
ports-de6240d6a1f7460da9b3ff0743aba1680eaf5a05.zip
x11-toolkits/itk: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/itk/Makefile6
1 files changed, 6 insertions, 0 deletions
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