diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-25 13:41:30 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-25 18:09:48 +0000 |
commit | de6240d6a1f7460da9b3ff0743aba1680eaf5a05 (patch) | |
tree | cbe5ed958008ae6c6d8ba92b3da5d285465c7658 /x11-toolkits | |
parent | 74791d08b90803b2f258f182043e72fc164491cb (diff) | |
download | ports-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/Makefile | 6 |
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 |