git: b5e5c2010f8f - main - games/libretro-bluemsx: Fix build with llvm16

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

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

commit b5e5c2010f8f184966d3cfaf4eaa5371622d588a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 12:03:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 12:03:43 +0000

    games/libretro-bluemsx: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 games/libretro-bluemsx/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/games/libretro-bluemsx/Makefile b/games/libretro-bluemsx/Makefile
index 3197bb9b96a1..e1aea3ed4c80 100644
--- a/games/libretro-bluemsx/Makefile
+++ b/games/libretro-bluemsx/Makefile
@@ -17,14 +17,18 @@ USE_LDCONFIG=	yes
 
 PLIST_FILES=	lib/libretro/bluemsx_libretro.so
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
 CFLAGS+=	-Wno-error=int-conversion
 .endif
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 do-install:
 	${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
 	${INSTALL_LIB} ${WRKSRC}/bluemsx_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>