git: c1f7d1c2c329 - main - x11-toolkits/blt: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Jun 2023 20:49:29 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c1f7d1c2c3299d6401a01a81184cbea8a3ea64a7

commit c1f7d1c2c3299d6401a01a81184cbea8a3ea64a7
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 19:36:26 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 20:48:37 +0000

    x11-toolkits/blt: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 x11-toolkits/blt/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

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>