diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-25 23:39:52 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-26 00:09:49 +0000 |
commit | 0f59f3265c75404e19766d04f909e30131f48ba8 (patch) | |
tree | 87d34d1972a378c4ff64f2a42783216d5fb65440 | |
parent | ebbe58b2d34b12c299a3c80051d325a7b63c2d81 (diff) |
games/tuxpaint: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | games/tuxpaint/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/games/tuxpaint/Makefile b/games/tuxpaint/Makefile index efda8aa938c0..81ac9b11d3bb 100644 --- a/games/tuxpaint/Makefile +++ b/games/tuxpaint/Makefile @@ -53,6 +53,12 @@ PORTDATA= * OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-extract: @${RM} -r ${WRKSRC}/fonts/locale/vi_docs |