aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/blt
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-24 19:36:26 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-24 20:48:37 +0000
commitc1f7d1c2c3299d6401a01a81184cbea8a3ea64a7 (patch)
tree85e41497fbacd2594d548419ddd41d487a3a5d0e /x11-toolkits/blt
parent9151c92aec04e1f642b826890c4614e51447484e (diff)
downloadports-c1f7d1c2c3299d6401a01a81184cbea8a3ea64a7.tar.gz
ports-c1f7d1c2c3299d6401a01a81184cbea8a3ea64a7.zip
x11-toolkits/blt: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'x11-toolkits/blt')
-rw-r--r--x11-toolkits/blt/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-toolkits/blt/Makefile b/x11-toolkits/blt/Makefile
index b56f73534257..1ad5dd1f0cf8 100644
--- a/x11-toolkits/blt/Makefile
+++ b/x11-toolkits/blt/Makefile
@@ -46,4 +46,8 @@ post-install:
CFLAGS+= -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE
.endif
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
.include <bsd.port.post.mk>