Skip to content

Commit

Permalink
games/nethack33: 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 Jul 26, 2023
1 parent 423c3ab commit 3372e98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions games/nethack33/Makefile
Expand Up @@ -47,6 +47,10 @@ PLIST_SUB+= HACKLINK=""
PLIST_SUB+= HACKLINK="@comment "
.endif

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

pre-everything::
.if defined(WITH_TTY_GRAPHICS) || defined(WITHOUT_X11)
@${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
Expand Down

0 comments on commit 3372e98

Please sign in to comment.