Skip to content

Commit

Permalink
x11-toolkits/itk: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 25, 2023
1 parent 74791d0 commit de6240d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x11-toolkits/itk/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit de6240d

Please sign in to comment.